Interface Discovery.ServiceDiscoveryResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Discovery.ServiceDiscoveryResponse,Discovery.ServiceDiscoveryResponse.Builder
- Enclosing class:
- Discovery
public static interface Discovery.ServiceDiscoveryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.DescriptorProtos.FileDescriptorSetgetFiles()List of all proto files used to define the services, including the dependencies.com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuildergetFilesOrBuilder()List of all proto files used to define the services, including the dependencies.intgetMaxProtocolVersion()uint32 max_protocol_version = 4;intgetMinProtocolVersion()Service-protocol version negotiationDiscovery.ProtocolModegetProtocolMode()Protocol mode negotiationintgetProtocolModeValue()Protocol mode negotiationjava.lang.StringgetServices(int index)List of services to register.com.google.protobuf.ByteStringgetServicesBytes(int index)List of services to register.intgetServicesCount()List of services to register.java.util.List<java.lang.String>getServicesList()List of services to register.booleanhasFiles()List of all proto files used to define the services, including the dependencies.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFiles
boolean hasFiles()
List of all proto files used to define the services, including the dependencies.
.google.protobuf.FileDescriptorSet files = 1;- Returns:
- Whether the files field is set.
-
getFiles
com.google.protobuf.DescriptorProtos.FileDescriptorSet getFiles()
List of all proto files used to define the services, including the dependencies.
.google.protobuf.FileDescriptorSet files = 1;- Returns:
- The files.
-
getFilesOrBuilder
com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder getFilesOrBuilder()
List of all proto files used to define the services, including the dependencies.
.google.protobuf.FileDescriptorSet files = 1;
-
getServicesList
java.util.List<java.lang.String> getServicesList()
List of services to register. This might be a subset of services defined in files.
repeated string services = 2;- Returns:
- A list containing the services.
-
getServicesCount
int getServicesCount()
List of services to register. This might be a subset of services defined in files.
repeated string services = 2;- Returns:
- The count of services.
-
getServices
java.lang.String getServices(int index)
List of services to register. This might be a subset of services defined in files.
repeated string services = 2;- Parameters:
index- The index of the element to return.- Returns:
- The services at the given index.
-
getServicesBytes
com.google.protobuf.ByteString getServicesBytes(int index)
List of services to register. This might be a subset of services defined in files.
repeated string services = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the services at the given index.
-
getMinProtocolVersion
int getMinProtocolVersion()
Service-protocol version negotiation
uint32 min_protocol_version = 3;- Returns:
- The minProtocolVersion.
-
getMaxProtocolVersion
int getMaxProtocolVersion()
uint32 max_protocol_version = 4;- Returns:
- The maxProtocolVersion.
-
getProtocolModeValue
int getProtocolModeValue()
Protocol mode negotiation
.dev.restate.service.discovery.ProtocolMode protocol_mode = 5;- Returns:
- The enum numeric value on the wire for protocolMode.
-
getProtocolMode
Discovery.ProtocolMode getProtocolMode()
Protocol mode negotiation
.dev.restate.service.discovery.ProtocolMode protocol_mode = 5;- Returns:
- The protocolMode.
-
-