Class DiscoveryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DiscoveryRequest.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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: 8]Protobuf type
envoy.service.discovery.v3.DiscoveryRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private com.google.rpc.Status
private com.google.protobuf.SingleFieldBuilder
<com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> private Node
private com.google.protobuf.SingleFieldBuilder
<Node, Node.Builder, NodeOrBuilder> private List
<ResourceLocator> private com.google.protobuf.RepeatedFieldBuilder
<ResourceLocator, ResourceLocator.Builder, ResourceLocatorOrBuilder> private com.google.protobuf.LazyStringArrayList
private Object
private Object
private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceLocators
(Iterable<? extends ResourceLocator> values) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.addAllResourceNames
(Iterable<String> values) List of resources to subscribe to, e.g.addResourceLocators
(int index, ResourceLocator value) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.addResourceLocators
(int index, ResourceLocator.Builder builderForValue) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.addResourceLocators
(ResourceLocator.Builder builderForValue) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.addResourceLocatorsBuilder
(int index) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.addResourceNames
(String value) List of resources to subscribe to, e.g.addResourceNamesBytes
(com.google.protobuf.ByteString value) List of resources to subscribe to, e.g.build()
private void
buildPartial0
(DiscoveryRequest result) private void
clear()
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.The node making the request.[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.List of resources to subscribe to, e.g.nonce corresponding to DiscoveryResponse being ACK/NACKed.Type of the resource that is being requested, e.g.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.private void
private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.rpc.Status
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.com.google.rpc.Status.Builder
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.private com.google.protobuf.SingleFieldBuilder
<com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.com.google.rpc.StatusOrBuilder
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.getNode()
The node making the request.The node making the request.private com.google.protobuf.SingleFieldBuilder
<Node, Node.Builder, NodeOrBuilder> The node making the request.The node making the request.getResourceLocators
(int index) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.getResourceLocatorsBuilder
(int index) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.int
[#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.private com.google.protobuf.RepeatedFieldBuilder
<ResourceLocator, ResourceLocator.Builder, ResourceLocatorOrBuilder> [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.getResourceLocatorsOrBuilder
(int index) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.List
<? extends ResourceLocatorOrBuilder> [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.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
List of resources to subscribe to, e.g.com.google.protobuf.ProtocolStringList
List of resources to subscribe to, e.g.nonce corresponding to DiscoveryResponse being ACK/NACKed.com.google.protobuf.ByteString
nonce corresponding to DiscoveryResponse being ACK/NACKed.Type of the resource that is being requested, e.g.com.google.protobuf.ByteString
Type of the resource that is being requested, e.g.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
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
This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.boolean
hasNode()
The node making the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeErrorDetail
(com.google.rpc.Status value) This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(DiscoveryRequest other) The node making the request.removeResourceLocators
(int index) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.setErrorDetail
(com.google.rpc.Status value) This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.setErrorDetail
(com.google.rpc.Status.Builder builderForValue) This is populated when the previous :ref:`DiscoveryResponse <envoy_v3_api_msg_service.discovery.v3.DiscoveryResponse>` failed to update configuration.The node making the request.setNode
(Node.Builder builderForValue) The node making the request.setResourceLocators
(int index, ResourceLocator value) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.setResourceLocators
(int index, ResourceLocator.Builder builderForValue) [#not-implemented-hide:] Alternative to ``resource_names`` field that allows specifying dynamic parameters along with each resource name.setResourceNames
(int index, String value) List of resources to subscribe to, e.g.setResponseNonce
(String value) nonce corresponding to DiscoveryResponse being ACK/NACKed.setResponseNonceBytes
(com.google.protobuf.ByteString value) nonce corresponding to DiscoveryResponse being ACK/NACKed.setTypeUrl
(String value) Type of the resource that is being requested, e.g.setTypeUrlBytes
(com.google.protobuf.ByteString value) Type of the resource that is being requested, e.g.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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
versionInfo_
-
node_
-
nodeBuilder_
-
resourceNames_
private com.google.protobuf.LazyStringArrayList resourceNames_ -
resourceLocators_
-
resourceLocatorsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<ResourceLocator,ResourceLocator.Builder, resourceLocatorsBuilder_ResourceLocatorOrBuilder> -
typeUrl_
-
responseNonce_
-
errorDetail_
private com.google.rpc.Status errorDetail_ -
errorDetailBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.rpc.Status,com.google.rpc.Status.Builder, errorDetailBuilder_com.google.rpc.StatusOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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.Builder<DiscoveryRequest.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DiscoveryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryRequest.Builder>
-
mergeFrom
public DiscoveryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DiscoveryRequest.Builder>
- Throws:
IOException
-
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.
-
setVersionInfo
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;
- Parameters:
value
- The versionInfo to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setVersionInfoBytes
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;
- Parameters:
value
- The bytes for versionInfo to set.- Returns:
- This builder for chaining.
-
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
The node making the request.
.envoy.config.core.v3.Node node = 2;
- Specified by:
getNode
in interfaceDiscoveryRequestOrBuilder
- Returns:
- The node.
-
setNode
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
setNode
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
mergeNode
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
clearNode
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
getNodeBuilder
The node making the request.
.envoy.config.core.v3.Node node = 2;
-
getNodeOrBuilder
The node making the request.
.envoy.config.core.v3.Node node = 2;
- Specified by:
getNodeOrBuilder
in interfaceDiscoveryRequestOrBuilder
-
getNodeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Node,Node.Builder, getNodeFieldBuilder()NodeOrBuilder> The node making the request.
.envoy.config.core.v3.Node node = 2;
-
ensureResourceNamesIsMutable
private void ensureResourceNamesIsMutable() -
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
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.
-
setResourceNames
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;
- Parameters:
index
- The index to set the value at.value
- The resourceNames to set.- Returns:
- This builder for chaining.
-
addResourceNames
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;
- Parameters:
value
- The resourceNames to add.- Returns:
- This builder for chaining.
-
addAllResourceNames
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;
- Parameters:
values
- The resourceNames to add.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
addResourceNamesBytes
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;
- Parameters:
value
- The bytes of the resourceNames to add.- Returns:
- This builder for chaining.
-
ensureResourceLocatorsIsMutable
private void ensureResourceLocatorsIsMutable() -
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
-
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
[#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
-
setResourceLocators
[#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;
-
setResourceLocators
public DiscoveryRequest.Builder setResourceLocators(int index, ResourceLocator.Builder builderForValue) [#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;
-
addResourceLocators
[#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;
-
addResourceLocators
[#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;
-
addResourceLocators
[#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;
-
addResourceLocators
public DiscoveryRequest.Builder addResourceLocators(int index, ResourceLocator.Builder builderForValue) [#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;
-
addAllResourceLocators
[#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;
-
clearResourceLocators
[#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;
-
removeResourceLocators
[#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;
-
getResourceLocatorsBuilder
[#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;
-
getResourceLocatorsOrBuilder
[#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
-
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
-
addResourceLocatorsBuilder
[#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;
-
addResourceLocatorsBuilder
[#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;
-
getResourceLocatorsBuilderList
[#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;
-
getResourceLocatorsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<ResourceLocator,ResourceLocator.Builder, getResourceLocatorsFieldBuilder()ResourceLocatorOrBuilder> -
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.
-
setTypeUrl
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;
- Parameters:
value
- The typeUrl to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setTypeUrlBytes
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;
- Parameters:
value
- The bytes for typeUrl to set.- Returns:
- This builder for chaining.
-
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.
-
setResponseNonce
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;
- Parameters:
value
- The responseNonce to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setResponseNonceBytes
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;
- Parameters:
value
- The bytes for responseNonce to set.- Returns:
- This builder for chaining.
-
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.
-
setErrorDetail
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
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
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
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 com.google.rpc.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 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
-
getErrorDetailFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.rpc.Status,com.google.rpc.Status.Builder, getErrorDetailFieldBuilder()com.google.rpc.StatusOrBuilder> 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;
-