Interface CommonMessages.DataClayInstanceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonMessages.DataClayInstance
,CommonMessages.DataClayInstance.Builder
- Enclosing class:
- CommonMessages
public static interface CommonMessages.DataClayInstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHosts(int index)
repeated string hosts = 2;
com.google.protobuf.ByteString
getHostsBytes(int index)
repeated string hosts = 2;
int
getHostsCount()
repeated string hosts = 2;
List<String>
getHostsList()
repeated string hosts = 2;
String
getId()
string id = 1;
com.google.protobuf.ByteString
getIdBytes()
string id = 1;
int
getPorts(int index)
repeated int32 ports = 3;
int
getPortsCount()
repeated int32 ports = 3;
List<Integer>
getPortsList()
repeated int32 ports = 3;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1;
- Returns:
- The bytes for id.
-
getHostsList
List<String> getHostsList()
repeated string hosts = 2;
- Returns:
- A list containing the hosts.
-
getHostsCount
int getHostsCount()
repeated string hosts = 2;
- Returns:
- The count of hosts.
-
getHosts
String getHosts(int index)
repeated string hosts = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The hosts at the given index.
-
getHostsBytes
com.google.protobuf.ByteString getHostsBytes(int index)
repeated string hosts = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the hosts at the given index.
-
getPortsList
List<Integer> getPortsList()
repeated int32 ports = 3;
- Returns:
- A list containing the ports.
-
getPortsCount
int getPortsCount()
repeated int32 ports = 3;
- Returns:
- The count of ports.
-
getPorts
int getPorts(int index)
repeated int32 ports = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The ports at the given index.
-
-