Class Discovery.ServiceDiscoveryResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- dev.restate.generated.service.discovery.Discovery.ServiceDiscoveryResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Discovery.ServiceDiscoveryResponseOrBuilder,java.io.Serializable
- Enclosing class:
- Discovery
public static final class Discovery.ServiceDiscoveryResponse extends com.google.protobuf.GeneratedMessageV3 implements Discovery.ServiceDiscoveryResponseOrBuilder
Protobuf typedev.restate.service.discovery.ServiceDiscoveryResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiscovery.ServiceDiscoveryResponse.BuilderProtobuf typedev.restate.service.discovery.ServiceDiscoveryResponse-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFILES_FIELD_NUMBERstatic intMAX_PROTOCOL_VERSION_FIELD_NUMBERstatic intMIN_PROTOCOL_VERSION_FIELD_NUMBERstatic intPROTOCOL_MODE_FIELD_NUMBERstatic intSERVICES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Discovery.ServiceDiscoveryResponsegetDefaultInstance()Discovery.ServiceDiscoveryResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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 negotiationcom.google.protobuf.Parser<Discovery.ServiceDiscoveryResponse>getParserForType()Discovery.ProtocolModegetProtocolMode()Protocol mode negotiationintgetProtocolModeValue()Protocol mode negotiationintgetSerializedSize()java.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.com.google.protobuf.ProtocolStringListgetServicesList()List of services to register.booleanhasFiles()List of all proto files used to define the services, including the dependencies.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Discovery.ServiceDiscoveryResponse.BuildernewBuilder()static Discovery.ServiceDiscoveryResponse.BuildernewBuilder(Discovery.ServiceDiscoveryResponse prototype)Discovery.ServiceDiscoveryResponse.BuildernewBuilderForType()protected Discovery.ServiceDiscoveryResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Discovery.ServiceDiscoveryResponseparseDelimitedFrom(java.io.InputStream input)static Discovery.ServiceDiscoveryResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Discovery.ServiceDiscoveryResponseparseFrom(byte[] data)static Discovery.ServiceDiscoveryResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Discovery.ServiceDiscoveryResponseparseFrom(com.google.protobuf.ByteString data)static Discovery.ServiceDiscoveryResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Discovery.ServiceDiscoveryResponseparseFrom(com.google.protobuf.CodedInputStream input)static Discovery.ServiceDiscoveryResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Discovery.ServiceDiscoveryResponseparseFrom(java.io.InputStream input)static Discovery.ServiceDiscoveryResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Discovery.ServiceDiscoveryResponseparseFrom(java.nio.ByteBuffer data)static Discovery.ServiceDiscoveryResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Discovery.ServiceDiscoveryResponse>parser()Discovery.ServiceDiscoveryResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICES_FIELD_NUMBER
public static final int SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_PROTOCOL_VERSION_FIELD_NUMBER
public static final int MIN_PROTOCOL_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_PROTOCOL_VERSION_FIELD_NUMBER
public static final int MAX_PROTOCOL_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOL_MODE_FIELD_NUMBER
public static final int PROTOCOL_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasFiles
public boolean hasFiles()
List of all proto files used to define the services, including the dependencies.
.google.protobuf.FileDescriptorSet files = 1;- Specified by:
hasFilesin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- Whether the files field is set.
-
getFiles
public com.google.protobuf.DescriptorProtos.FileDescriptorSet getFiles()
List of all proto files used to define the services, including the dependencies.
.google.protobuf.FileDescriptorSet files = 1;- Specified by:
getFilesin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- The files.
-
getFilesOrBuilder
public com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder getFilesOrBuilder()
List of all proto files used to define the services, including the dependencies.
.google.protobuf.FileDescriptorSet files = 1;- Specified by:
getFilesOrBuilderin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder
-
getServicesList
public com.google.protobuf.ProtocolStringList getServicesList()
List of services to register. This might be a subset of services defined in files.
repeated string services = 2;- Specified by:
getServicesListin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- A list containing the services.
-
getServicesCount
public int getServicesCount()
List of services to register. This might be a subset of services defined in files.
repeated string services = 2;- Specified by:
getServicesCountin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- The count of services.
-
getServices
public 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;- Specified by:
getServicesin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The services at the given index.
-
getServicesBytes
public 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;- Specified by:
getServicesBytesin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the services at the given index.
-
getMinProtocolVersion
public int getMinProtocolVersion()
Service-protocol version negotiation
uint32 min_protocol_version = 3;- Specified by:
getMinProtocolVersionin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- The minProtocolVersion.
-
getMaxProtocolVersion
public int getMaxProtocolVersion()
uint32 max_protocol_version = 4;- Specified by:
getMaxProtocolVersionin interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- The maxProtocolVersion.
-
getProtocolModeValue
public int getProtocolModeValue()
Protocol mode negotiation
.dev.restate.service.discovery.ProtocolMode protocol_mode = 5;- Specified by:
getProtocolModeValuein interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- The enum numeric value on the wire for protocolMode.
-
getProtocolMode
public Discovery.ProtocolMode getProtocolMode()
Protocol mode negotiation
.dev.restate.service.discovery.ProtocolMode protocol_mode = 5;- Specified by:
getProtocolModein interfaceDiscovery.ServiceDiscoveryResponseOrBuilder- Returns:
- The protocolMode.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Discovery.ServiceDiscoveryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Discovery.ServiceDiscoveryResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Discovery.ServiceDiscoveryResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Discovery.ServiceDiscoveryResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Discovery.ServiceDiscoveryResponse.Builder newBuilder()
-
newBuilder
public static Discovery.ServiceDiscoveryResponse.Builder newBuilder(Discovery.ServiceDiscoveryResponse prototype)
-
toBuilder
public Discovery.ServiceDiscoveryResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Discovery.ServiceDiscoveryResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Discovery.ServiceDiscoveryResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Discovery.ServiceDiscoveryResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Discovery.ServiceDiscoveryResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Discovery.ServiceDiscoveryResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-