Class DiscoveryRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
- io.envoyproxy.envoy.service.discovery.v3.DiscoveryRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DiscoveryRequestOrBuilder,Cloneable
- Enclosing class:
- DiscoveryRequest
public static final class DiscoveryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder> 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: 7]
Protobuf typeenvoy.service.discovery.v3.DiscoveryRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveryRequest.BuilderaddAllResourceNames(Iterable<String> values)List of resources to subscribe to, e.g. list of cluster names or a route configuration name.DiscoveryRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DiscoveryRequest.BuilderaddResourceNames(String value)List of resources to subscribe to, e.g. list of cluster names or a route configuration name.DiscoveryRequest.BuilderaddResourceNamesBytes(com.google.protobuf.ByteString value)List of resources to subscribe to, e.g. list of cluster names or a route configuration name.DiscoveryRequestbuild()DiscoveryRequestbuildPartial()DiscoveryRequest.Builderclear()DiscoveryRequest.BuilderclearErrorDetail()This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.DiscoveryRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DiscoveryRequest.BuilderclearNode()The node making the request.DiscoveryRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DiscoveryRequest.BuilderclearResourceNames()List of resources to subscribe to, e.g. list of cluster names or a route configuration name.DiscoveryRequest.BuilderclearResponseNonce()nonce corresponding to DiscoveryResponse being ACK/NACKed.DiscoveryRequest.BuilderclearTypeUrl()Type of the resource that is being requested, e.g.DiscoveryRequest.BuilderclearVersionInfo()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.DiscoveryRequest.Builderclone()DiscoveryRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StatusgetErrorDetail()This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.Status.BuildergetErrorDetailBuilder()This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.StatusOrBuildergetErrorDetailOrBuilder()This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.NodegetNode()The node making the request.Node.BuildergetNodeBuilder()The node making the request.NodeOrBuildergetNodeOrBuilder()The node making the request.StringgetResourceNames(int index)List of resources to subscribe to, e.g. list of cluster names or a route configuration name.com.google.protobuf.ByteStringgetResourceNamesBytes(int index)List of resources to subscribe to, e.g. list of cluster names or a route configuration name.intgetResourceNamesCount()List of resources to subscribe to, e.g. list of cluster names or a route configuration name.com.google.protobuf.ProtocolStringListgetResourceNamesList()List of resources to subscribe to, e.g. list of cluster names or a route configuration name.StringgetResponseNonce()nonce corresponding to DiscoveryResponse being ACK/NACKed.com.google.protobuf.ByteStringgetResponseNonceBytes()nonce corresponding to DiscoveryResponse being ACK/NACKed.StringgetTypeUrl()Type of the resource that is being requested, e.g.com.google.protobuf.ByteStringgetTypeUrlBytes()Type of the resource that is being requested, e.g.StringgetVersionInfo()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.ByteStringgetVersionInfoBytes()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.booleanhasErrorDetail()This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.booleanhasNode()The node making the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DiscoveryRequest.BuildermergeErrorDetail(Status value)This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.DiscoveryRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DiscoveryRequest.BuildermergeFrom(com.google.protobuf.Message other)DiscoveryRequest.BuildermergeFrom(DiscoveryRequest other)DiscoveryRequest.BuildermergeNode(Node value)The node making the request.DiscoveryRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DiscoveryRequest.BuildersetErrorDetail(Status value)This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.DiscoveryRequest.BuildersetErrorDetail(Status.Builder builderForValue)This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.DiscoveryRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DiscoveryRequest.BuildersetNode(Node value)The node making the request.DiscoveryRequest.BuildersetNode(Node.Builder builderForValue)The node making the request.DiscoveryRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DiscoveryRequest.BuildersetResourceNames(int index, String value)List of resources to subscribe to, e.g. list of cluster names or a route configuration name.DiscoveryRequest.BuildersetResponseNonce(String value)nonce corresponding to DiscoveryResponse being ACK/NACKed.DiscoveryRequest.BuildersetResponseNonceBytes(com.google.protobuf.ByteString value)nonce corresponding to DiscoveryResponse being ACK/NACKed.DiscoveryRequest.BuildersetTypeUrl(String value)Type of the resource that is being requested, e.g.DiscoveryRequest.BuildersetTypeUrlBytes(com.google.protobuf.ByteString value)Type of the resource that is being requested, e.g.DiscoveryRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DiscoveryRequest.BuildersetVersionInfo(String value)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.DiscoveryRequest.BuildersetVersionInfoBytes(com.google.protobuf.ByteString value)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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<DiscoveryRequest.Builder>
-
clear
public DiscoveryRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
getDefaultInstanceForType
public DiscoveryRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DiscoveryRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DiscoveryRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DiscoveryRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
setField
public DiscoveryRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
clearField
public DiscoveryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
clearOneof
public DiscoveryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
setRepeatedField
public DiscoveryRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
addRepeatedField
public DiscoveryRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
mergeFrom
public DiscoveryRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryRequest.Builder>
-
mergeFrom
public DiscoveryRequest.Builder mergeFrom(DiscoveryRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
mergeFrom
public DiscoveryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryRequest.Builder>- Throws:
IOException
-
getVersionInfo
public 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:
getVersionInfoin interfaceDiscoveryRequestOrBuilder
-
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:
getVersionInfoBytesin interfaceDiscoveryRequestOrBuilder
-
setVersionInfo
public DiscoveryRequest.Builder setVersionInfo(String value)
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;
-
clearVersionInfo
public DiscoveryRequest.Builder clearVersionInfo()
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;
-
setVersionInfoBytes
public DiscoveryRequest.Builder setVersionInfoBytes(com.google.protobuf.ByteString value)
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;
-
hasNode
public boolean hasNode()
The node making the request.
.envoy.config.core.v3.Node node = 2;- Specified by:
hasNodein interfaceDiscoveryRequestOrBuilder
-
getNode
public Node getNode()
The node making the request.
.envoy.config.core.v3.Node node = 2;- Specified by:
getNodein interfaceDiscoveryRequestOrBuilder
-
setNode
public DiscoveryRequest.Builder setNode(Node value)
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
setNode
public DiscoveryRequest.Builder setNode(Node.Builder builderForValue)
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
mergeNode
public DiscoveryRequest.Builder mergeNode(Node value)
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
clearNode
public DiscoveryRequest.Builder clearNode()
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
getNodeBuilder
public Node.Builder getNodeBuilder()
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
getNodeOrBuilder
public NodeOrBuilder getNodeOrBuilder()
The node making the request.
.envoy.config.core.v3.Node node = 2;- Specified by:
getNodeOrBuilderin 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:
getResourceNamesListin interfaceDiscoveryRequestOrBuilder
-
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:
getResourceNamesCountin interfaceDiscoveryRequestOrBuilder
-
getResourceNames
public 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:
getResourceNamesin interfaceDiscoveryRequestOrBuilder
-
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:
getResourceNamesBytesin interfaceDiscoveryRequestOrBuilder
-
setResourceNames
public DiscoveryRequest.Builder setResourceNames(int index, String value)
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;
-
addResourceNames
public DiscoveryRequest.Builder addResourceNames(String value)
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;
-
addAllResourceNames
public DiscoveryRequest.Builder addAllResourceNames(Iterable<String> values)
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;
-
clearResourceNames
public DiscoveryRequest.Builder clearResourceNames()
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;
-
addResourceNamesBytes
public DiscoveryRequest.Builder addResourceNamesBytes(com.google.protobuf.ByteString value)
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;
-
getTypeUrl
public 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:
getTypeUrlin interfaceDiscoveryRequestOrBuilder
-
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:
getTypeUrlBytesin interfaceDiscoveryRequestOrBuilder
-
setTypeUrl
public DiscoveryRequest.Builder setTypeUrl(String value)
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;
-
clearTypeUrl
public DiscoveryRequest.Builder clearTypeUrl()
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;
-
setTypeUrlBytes
public DiscoveryRequest.Builder setTypeUrlBytes(com.google.protobuf.ByteString value)
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;
-
getResponseNonce
public 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:
getResponseNoncein interfaceDiscoveryRequestOrBuilder
-
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:
getResponseNonceBytesin interfaceDiscoveryRequestOrBuilder
-
setResponseNonce
public DiscoveryRequest.Builder setResponseNonce(String value)
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;
-
clearResponseNonce
public DiscoveryRequest.Builder clearResponseNonce()
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;
-
setResponseNonceBytes
public DiscoveryRequest.Builder setResponseNonceBytes(com.google.protobuf.ByteString value)
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;
-
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:
hasErrorDetailin interfaceDiscoveryRequestOrBuilder
-
getErrorDetail
public 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:
getErrorDetailin interfaceDiscoveryRequestOrBuilder
-
setErrorDetail
public DiscoveryRequest.Builder setErrorDetail(Status value)
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;
-
setErrorDetail
public DiscoveryRequest.Builder setErrorDetail(Status.Builder builderForValue)
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;
-
mergeErrorDetail
public DiscoveryRequest.Builder mergeErrorDetail(Status value)
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;
-
clearErrorDetail
public DiscoveryRequest.Builder clearErrorDetail()
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;
-
getErrorDetailBuilder
public Status.Builder getErrorDetailBuilder()
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;
-
getErrorDetailOrBuilder
public 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:
getErrorDetailOrBuilderin interfaceDiscoveryRequestOrBuilder
-
setUnknownFields
public final DiscoveryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
mergeUnknownFields
public final DiscoveryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryRequest.Builder>
-
-