Class DiscoveryRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.service.discovery.v3.DiscoveryRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DiscoveryRequestOrBuilder
,java.io.Serializable
public final class DiscoveryRequest extends com.google.protobuf.GeneratedMessage implements DiscoveryRequestOrBuilder
A DiscoveryRequest requests a set of versioned resources of the same type for a given Envoy node on some API. [#next-free-field: 8]
Protobuf typeenvoy.service.discovery.v3.DiscoveryRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiscoveryRequest.Builder
A DiscoveryRequest requests a set of versioned resources of the same type for a given Envoy node on some API.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private static DiscoveryRequest
DEFAULT_INSTANCE
static int
ERROR_DETAIL_FIELD_NUMBER
private com.google.rpc.Status
errorDetail_
private byte
memoizedIsInitialized
private Node
node_
static int
NODE_FIELD_NUMBER
private static com.google.protobuf.Parser<DiscoveryRequest>
PARSER
static int
RESOURCE_LOCATORS_FIELD_NUMBER
static int
RESOURCE_NAMES_FIELD_NUMBER
private java.util.List<ResourceLocator>
resourceLocators_
private com.google.protobuf.LazyStringArrayList
resourceNames_
static int
RESPONSE_NONCE_FIELD_NUMBER
private java.lang.Object
responseNonce_
private static long
serialVersionUID
static int
TYPE_URL_FIELD_NUMBER
private java.lang.Object
typeUrl_
static int
VERSION_INFO_FIELD_NUMBER
private java.lang.Object
versionInfo_
-
Constructor Summary
Constructors Modifier Constructor Description private
DiscoveryRequest()
private
DiscoveryRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static DiscoveryRequest
getDefaultInstance()
DiscoveryRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.rpc.Status
getErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.com.google.rpc.StatusOrBuilder
getErrorDetailOrBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.Node
getNode()
The node making the request.NodeOrBuilder
getNodeOrBuilder()
The node making the request.com.google.protobuf.Parser<DiscoveryRequest>
getParserForType()
ResourceLocator
getResourceLocators(int index)
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.int
getResourceLocatorsCount()
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.java.util.List<ResourceLocator>
getResourceLocatorsList()
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.ResourceLocatorOrBuilder
getResourceLocatorsOrBuilder(int index)
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.java.util.List<? extends ResourceLocatorOrBuilder>
getResourceLocatorsOrBuilderList()
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.java.lang.String
getResourceNames(int index)
List of resources to subscribe to, e.g.com.google.protobuf.ByteString
getResourceNamesBytes(int index)
List of resources to subscribe to, e.g.int
getResourceNamesCount()
List of resources to subscribe to, e.g.com.google.protobuf.ProtocolStringList
getResourceNamesList()
List of resources to subscribe to, e.g.java.lang.String
getResponseNonce()
nonce corresponding to DiscoveryResponse being ACK/NACKed.com.google.protobuf.ByteString
getResponseNonceBytes()
nonce corresponding to DiscoveryResponse being ACK/NACKed.int
getSerializedSize()
java.lang.String
getTypeUrl()
Type of the resource that is being requested, e.g.com.google.protobuf.ByteString
getTypeUrlBytes()
Type of the resource that is being requested, e.g.java.lang.String
getVersionInfo()
The version_info provided in the request messages will be the version_info received with the most recent successfully processed response or empty on the first request.com.google.protobuf.ByteString
getVersionInfoBytes()
The version_info provided in the request messages will be the version_info received with the most recent successfully processed response or empty on the first request.boolean
hasErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.int
hashCode()
boolean
hasNode()
The node making the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DiscoveryRequest.Builder
newBuilder()
static DiscoveryRequest.Builder
newBuilder(DiscoveryRequest prototype)
DiscoveryRequest.Builder
newBuilderForType()
protected DiscoveryRequest.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static DiscoveryRequest
parseDelimitedFrom(java.io.InputStream input)
static DiscoveryRequest
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryRequest
parseFrom(byte[] data)
static DiscoveryRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryRequest
parseFrom(com.google.protobuf.ByteString data)
static DiscoveryRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static DiscoveryRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryRequest
parseFrom(java.io.InputStream input)
static DiscoveryRequest
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryRequest
parseFrom(java.nio.ByteBuffer data)
static DiscoveryRequest
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DiscoveryRequest>
parser()
DiscoveryRequest.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
versionInfo_
private volatile java.lang.Object versionInfo_
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
node_
private Node node_
-
RESOURCE_NAMES_FIELD_NUMBER
public static final int RESOURCE_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
resourceNames_
private com.google.protobuf.LazyStringArrayList resourceNames_
-
RESOURCE_LOCATORS_FIELD_NUMBER
public static final int RESOURCE_LOCATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
resourceLocators_
private java.util.List<ResourceLocator> resourceLocators_
-
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
typeUrl_
private volatile java.lang.Object typeUrl_
-
RESPONSE_NONCE_FIELD_NUMBER
public static final int RESPONSE_NONCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
responseNonce_
private volatile java.lang.Object responseNonce_
-
ERROR_DETAIL_FIELD_NUMBER
public static final int ERROR_DETAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
errorDetail_
private com.google.rpc.Status errorDetail_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DiscoveryRequest DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<DiscoveryRequest> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getVersionInfo
public java.lang.String getVersionInfo()
The version_info provided in the request messages will be the version_info received with the most recent successfully processed response or empty on the first request. It is expected that no new request is sent after a response is received until the Envoy instance is ready to ACK/NACK the new configuration. ACK/NACK takes place by returning the new API config version as applied or the previous API config version respectively. Each type_url (see below) has an independent version associated with it.
string version_info = 1;
- Specified by:
getVersionInfo
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()
The version_info provided in the request messages will be the version_info received with the most recent successfully processed response or empty on the first request. It is expected that no new request is sent after a response is received until the Envoy instance is ready to ACK/NACK the new configuration. ACK/NACK takes place by returning the new API config version as applied or the previous API config version respectively. Each type_url (see below) has an independent version associated with it.
string version_info = 1;
- Specified by:
getVersionInfoBytes
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The bytes for versionInfo.
-
hasNode
public boolean hasNode()
The node making the request.
.envoy.config.core.v3.Node node = 2;
- Specified by:
hasNode
in interfaceDiscoveryRequestOrBuilder
- Returns:
- Whether the node field is set.
-
getNode
public Node getNode()
The node making the request.
.envoy.config.core.v3.Node node = 2;
- Specified by:
getNode
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The node.
-
getNodeOrBuilder
public NodeOrBuilder getNodeOrBuilder()
The node making the request.
.envoy.config.core.v3.Node node = 2;
- Specified by:
getNodeOrBuilder
in interfaceDiscoveryRequestOrBuilder
-
getResourceNamesList
public com.google.protobuf.ProtocolStringList getResourceNamesList()
List of resources to subscribe to, e.g. list of cluster names or a route configuration name. If this is empty, all resources for the API are returned. LDS/CDS may have empty resource_names, which will cause all resources for the Envoy instance to be returned. The LDS and CDS responses will then imply a number of resources that need to be fetched via EDS/RDS, which will be explicitly enumerated in resource_names.
repeated string resource_names = 3;
- Specified by:
getResourceNamesList
in interfaceDiscoveryRequestOrBuilder
- Returns:
- A list containing the resourceNames.
-
getResourceNamesCount
public int getResourceNamesCount()
List of resources to subscribe to, e.g. list of cluster names or a route configuration name. If this is empty, all resources for the API are returned. LDS/CDS may have empty resource_names, which will cause all resources for the Envoy instance to be returned. The LDS and CDS responses will then imply a number of resources that need to be fetched via EDS/RDS, which will be explicitly enumerated in resource_names.
repeated string resource_names = 3;
- Specified by:
getResourceNamesCount
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The count of resourceNames.
-
getResourceNames
public java.lang.String getResourceNames(int index)
List of resources to subscribe to, e.g. list of cluster names or a route configuration name. If this is empty, all resources for the API are returned. LDS/CDS may have empty resource_names, which will cause all resources for the Envoy instance to be returned. The LDS and CDS responses will then imply a number of resources that need to be fetched via EDS/RDS, which will be explicitly enumerated in resource_names.
repeated string resource_names = 3;
- Specified by:
getResourceNames
in interfaceDiscoveryRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The resourceNames at the given index.
-
getResourceNamesBytes
public com.google.protobuf.ByteString getResourceNamesBytes(int index)
List of resources to subscribe to, e.g. list of cluster names or a route configuration name. If this is empty, all resources for the API are returned. LDS/CDS may have empty resource_names, which will cause all resources for the Envoy instance to be returned. The LDS and CDS responses will then imply a number of resources that need to be fetched via EDS/RDS, which will be explicitly enumerated in resource_names.
repeated string resource_names = 3;
- Specified by:
getResourceNamesBytes
in interfaceDiscoveryRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the resourceNames at the given index.
-
getResourceLocatorsList
public java.util.List<ResourceLocator> getResourceLocatorsList()
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name. Clients that populate this field must be able to handle responses from the server where resources are wrapped in a Resource message. Note that it is legal for a request to have some resources listed in ``resource_names`` and others in ``resource_locators``.
repeated .envoy.service.discovery.v3.ResourceLocator resource_locators = 7;
- Specified by:
getResourceLocatorsList
in interfaceDiscoveryRequestOrBuilder
-
getResourceLocatorsOrBuilderList
public java.util.List<? extends ResourceLocatorOrBuilder> getResourceLocatorsOrBuilderList()
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name. Clients that populate this field must be able to handle responses from the server where resources are wrapped in a Resource message. Note that it is legal for a request to have some resources listed in ``resource_names`` and others in ``resource_locators``.
repeated .envoy.service.discovery.v3.ResourceLocator resource_locators = 7;
- Specified by:
getResourceLocatorsOrBuilderList
in interfaceDiscoveryRequestOrBuilder
-
getResourceLocatorsCount
public int getResourceLocatorsCount()
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name. Clients that populate this field must be able to handle responses from the server where resources are wrapped in a Resource message. Note that it is legal for a request to have some resources listed in ``resource_names`` and others in ``resource_locators``.
repeated .envoy.service.discovery.v3.ResourceLocator resource_locators = 7;
- Specified by:
getResourceLocatorsCount
in interfaceDiscoveryRequestOrBuilder
-
getResourceLocators
public ResourceLocator getResourceLocators(int index)
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name. Clients that populate this field must be able to handle responses from the server where resources are wrapped in a Resource message. Note that it is legal for a request to have some resources listed in ``resource_names`` and others in ``resource_locators``.
repeated .envoy.service.discovery.v3.ResourceLocator resource_locators = 7;
- Specified by:
getResourceLocators
in interfaceDiscoveryRequestOrBuilder
-
getResourceLocatorsOrBuilder
public ResourceLocatorOrBuilder getResourceLocatorsOrBuilder(int index)
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name. Clients that populate this field must be able to handle responses from the server where resources are wrapped in a Resource message. Note that it is legal for a request to have some resources listed in ``resource_names`` and others in ``resource_locators``.
repeated .envoy.service.discovery.v3.ResourceLocator resource_locators = 7;
- Specified by:
getResourceLocatorsOrBuilder
in interfaceDiscoveryRequestOrBuilder
-
getTypeUrl
public java.lang.String getTypeUrl()
Type of the resource that is being requested, e.g. "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit in requests made via singleton xDS APIs such as CDS, LDS, etc. but is required for ADS.
string type_url = 4;
- Specified by:
getTypeUrl
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The typeUrl.
-
getTypeUrlBytes
public com.google.protobuf.ByteString getTypeUrlBytes()
Type of the resource that is being requested, e.g. "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit in requests made via singleton xDS APIs such as CDS, LDS, etc. but is required for ADS.
string type_url = 4;
- Specified by:
getTypeUrlBytes
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The bytes for typeUrl.
-
getResponseNonce
public java.lang.String getResponseNonce()
nonce corresponding to DiscoveryResponse being ACK/NACKed. See above discussion on version_info and the DiscoveryResponse nonce comment. This may be empty only if 1) this is a non-persistent-stream xDS such as HTTP, or 2) the client has not yet accepted an update in this xDS stream (unlike delta, where it is populated only for new explicit ACKs).
string response_nonce = 5;
- Specified by:
getResponseNonce
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The responseNonce.
-
getResponseNonceBytes
public com.google.protobuf.ByteString getResponseNonceBytes()
nonce corresponding to DiscoveryResponse being ACK/NACKed. See above discussion on version_info and the DiscoveryResponse nonce comment. This may be empty only if 1) this is a non-persistent-stream xDS such as HTTP, or 2) the client has not yet accepted an update in this xDS stream (unlike delta, where it is populated only for new explicit ACKs).
string response_nonce = 5;
- Specified by:
getResponseNonceBytes
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The bytes for responseNonce.
-
hasErrorDetail
public boolean hasErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration. The ``message`` field in ``error_details`` provides the Envoy internal exception related to the failure. It is only intended for consumption during manual debugging, the string provided is not guaranteed to be stable across Envoy versions.
.google.rpc.Status error_detail = 6;
- Specified by:
hasErrorDetail
in interfaceDiscoveryRequestOrBuilder
- Returns:
- Whether the errorDetail field is set.
-
getErrorDetail
public com.google.rpc.Status getErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration. The ``message`` field in ``error_details`` provides the Envoy internal exception related to the failure. It is only intended for consumption during manual debugging, the string provided is not guaranteed to be stable across Envoy versions.
.google.rpc.Status error_detail = 6;
- Specified by:
getErrorDetail
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The errorDetail.
-
getErrorDetailOrBuilder
public com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration. The ``message`` field in ``error_details`` provides the Envoy internal exception related to the failure. It is only intended for consumption during manual debugging, the string provided is not guaranteed to be stable across Envoy versions.
.google.rpc.Status error_detail = 6;
- Specified by:
getErrorDetailOrBuilder
in interfaceDiscoveryRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiscoveryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DiscoveryRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DiscoveryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DiscoveryRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DiscoveryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DiscoveryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public DiscoveryRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DiscoveryRequest.Builder newBuilder()
-
newBuilder
public static DiscoveryRequest.Builder newBuilder(DiscoveryRequest prototype)
-
toBuilder
public DiscoveryRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static DiscoveryRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DiscoveryRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<DiscoveryRequest> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public DiscoveryRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-