public static final class Discovery.IncrementalDiscoveryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder> implements Discovery.IncrementalDiscoveryRequestOrBuilder
IncrementalDiscoveryRequest and IncrementalDiscoveryResponse are used in a
new gRPC endpoint for Incremental xDS. The feature is not supported for REST
management servers.
With Incremental xDS, the IncrementalDiscoveryResponses do not need to
include a full snapshot of the tracked resources. Instead
IncrementalDiscoveryResponses are a diff to the state of a xDS client.
In Incremental XDS there are per resource versions which allows to track
state at the resource granularity.
An xDS Incremental session is always in the context of a gRPC bidirectional
stream. This allows the xDS server to keep track of the state of xDS clients
connected to it.
In Incremental xDS the nonce field is required and used to pair
IncrementalDiscoveryResponse to a IncrementalDiscoveryRequest ACK or NACK.
Optionaly, a response message level system_version_info is present for
debugging purposes only.
IncrementalDiscoveryRequest can be sent in 3 situations:
1. Initial message in a xDS bidirectional gRPC stream.
2. As a ACK or NACK response to a previous IncrementalDiscoveryResponse.
In this case the response_nonce is set to the nonce value in the Response.
ACK or NACK is determined by the absence or presence of error_detail.
3. Spontaneous IncrementalDiscoveryRequest from the client.
This can be done to dynamically add or remove elements from the tracked
resource_names set. In this case response_nonce must be omitted.
Protobuf type envoy.api.v2.IncrementalDiscoveryRequest| Modifier and Type | Method and Description |
|---|---|
Discovery.IncrementalDiscoveryRequest.Builder |
addAllResourceNamesSubscribe(Iterable<String> values)
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
addAllResourceNamesUnsubscribe(Iterable<String> values)
A list of Resource names to remove from the list of tracked resources.
|
Discovery.IncrementalDiscoveryRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Discovery.IncrementalDiscoveryRequest.Builder |
addResourceNamesSubscribe(String value)
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
addResourceNamesSubscribeBytes(com.google.protobuf.ByteString value)
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
addResourceNamesUnsubscribe(String value)
A list of Resource names to remove from the list of tracked resources.
|
Discovery.IncrementalDiscoveryRequest.Builder |
addResourceNamesUnsubscribeBytes(com.google.protobuf.ByteString value)
A list of Resource names to remove from the list of tracked resources.
|
Discovery.IncrementalDiscoveryRequest |
build() |
Discovery.IncrementalDiscoveryRequest |
buildPartial() |
Discovery.IncrementalDiscoveryRequest.Builder |
clear() |
Discovery.IncrementalDiscoveryRequest.Builder |
clearErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
Discovery.IncrementalDiscoveryRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Discovery.IncrementalDiscoveryRequest.Builder |
clearInitialResourceVersions() |
Discovery.IncrementalDiscoveryRequest.Builder |
clearNode()
The node making the request.
|
Discovery.IncrementalDiscoveryRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Discovery.IncrementalDiscoveryRequest.Builder |
clearResourceNamesSubscribe()
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
clearResourceNamesUnsubscribe()
A list of Resource names to remove from the list of tracked resources.
|
Discovery.IncrementalDiscoveryRequest.Builder |
clearResponseNonce()
When the IncrementalDiscoveryRequest is a ACK or NACK message in response
to a previous IncrementalDiscoveryResponse, the response_nonce must be the
nonce in the IncrementalDiscoveryResponse.
|
Discovery.IncrementalDiscoveryRequest.Builder |
clearTypeUrl()
Type of the resource that is being requested, e.g.
|
Discovery.IncrementalDiscoveryRequest.Builder |
clone() |
boolean |
containsInitialResourceVersions(String key)
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
Discovery.IncrementalDiscoveryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Status |
getErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
Status.Builder |
getErrorDetailBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
StatusOrBuilder |
getErrorDetailOrBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
Map<String,String> |
getInitialResourceVersions()
Deprecated.
|
int |
getInitialResourceVersionsCount()
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
Map<String,String> |
getInitialResourceVersionsMap()
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
String |
getInitialResourceVersionsOrDefault(String key,
String defaultValue)
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
String |
getInitialResourceVersionsOrThrow(String key)
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
Map<String,String> |
getMutableInitialResourceVersions()
Deprecated.
|
Base.Node |
getNode()
The node making the request.
|
Base.Node.Builder |
getNodeBuilder()
The node making the request.
|
Base.NodeOrBuilder |
getNodeOrBuilder()
The node making the request.
|
String |
getResourceNamesSubscribe(int index)
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
com.google.protobuf.ByteString |
getResourceNamesSubscribeBytes(int index)
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
int |
getResourceNamesSubscribeCount()
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
com.google.protobuf.ProtocolStringList |
getResourceNamesSubscribeList()
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
String |
getResourceNamesUnsubscribe(int index)
A list of Resource names to remove from the list of tracked resources.
|
com.google.protobuf.ByteString |
getResourceNamesUnsubscribeBytes(int index)
A list of Resource names to remove from the list of tracked resources.
|
int |
getResourceNamesUnsubscribeCount()
A list of Resource names to remove from the list of tracked resources.
|
com.google.protobuf.ProtocolStringList |
getResourceNamesUnsubscribeList()
A list of Resource names to remove from the list of tracked resources.
|
String |
getResponseNonce()
When the IncrementalDiscoveryRequest is a ACK or NACK message in response
to a previous IncrementalDiscoveryResponse, the response_nonce must be the
nonce in the IncrementalDiscoveryResponse.
|
com.google.protobuf.ByteString |
getResponseNonceBytes()
When the IncrementalDiscoveryRequest is a ACK or NACK message in response
to a previous IncrementalDiscoveryResponse, the response_nonce must be the
nonce in the IncrementalDiscoveryResponse.
|
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.
|
boolean |
hasErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
boolean |
hasNode()
The node making the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Discovery.IncrementalDiscoveryRequest.Builder |
mergeErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
Discovery.IncrementalDiscoveryRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Discovery.IncrementalDiscoveryRequest.Builder |
mergeFrom(Discovery.IncrementalDiscoveryRequest other) |
Discovery.IncrementalDiscoveryRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Discovery.IncrementalDiscoveryRequest.Builder |
mergeNode(Base.Node value)
The node making the request.
|
Discovery.IncrementalDiscoveryRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Discovery.IncrementalDiscoveryRequest.Builder |
putAllInitialResourceVersions(Map<String,String> values)
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
putInitialResourceVersions(String key,
String value)
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
removeInitialResourceVersions(String key)
This map must be populated when the IncrementalDiscoveryRequest is the
first in a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setErrorDetail(Status.Builder builderForValue)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
failed to update configuration.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Discovery.IncrementalDiscoveryRequest.Builder |
setNode(Base.Node.Builder builderForValue)
The node making the request.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setNode(Base.Node value)
The node making the request.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Discovery.IncrementalDiscoveryRequest.Builder |
setResourceNamesSubscribe(int index,
String value)
IncrementalDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setResourceNamesUnsubscribe(int index,
String value)
A list of Resource names to remove from the list of tracked resources.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setResponseNonce(String value)
When the IncrementalDiscoveryRequest is a ACK or NACK message in response
to a previous IncrementalDiscoveryResponse, the response_nonce must be the
nonce in the IncrementalDiscoveryResponse.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setResponseNonceBytes(com.google.protobuf.ByteString value)
When the IncrementalDiscoveryRequest is a ACK or NACK message in response
to a previous IncrementalDiscoveryResponse, the response_nonce must be the
nonce in the IncrementalDiscoveryResponse.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setTypeUrl(String value)
Type of the resource that is being requested, e.g.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setTypeUrlBytes(com.google.protobuf.ByteString value)
Type of the resource that is being requested, e.g.
|
Discovery.IncrementalDiscoveryRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Discovery.IncrementalDiscoveryRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Discovery.IncrementalDiscoveryRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Discovery.IncrementalDiscoveryRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder mergeFrom(Discovery.IncrementalDiscoveryRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public Discovery.IncrementalDiscoveryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Discovery.IncrementalDiscoveryRequest.Builder>IOExceptionpublic boolean hasNode()
The node making the request.
.envoy.api.v2.core.Node node = 1;hasNode in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Base.Node getNode()
The node making the request.
.envoy.api.v2.core.Node node = 1;getNode in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.Builder setNode(Base.Node value)
The node making the request.
.envoy.api.v2.core.Node node = 1;public Discovery.IncrementalDiscoveryRequest.Builder setNode(Base.Node.Builder builderForValue)
The node making the request.
.envoy.api.v2.core.Node node = 1;public Discovery.IncrementalDiscoveryRequest.Builder mergeNode(Base.Node value)
The node making the request.
.envoy.api.v2.core.Node node = 1;public Discovery.IncrementalDiscoveryRequest.Builder clearNode()
The node making the request.
.envoy.api.v2.core.Node node = 1;public Base.Node.Builder getNodeBuilder()
The node making the request.
.envoy.api.v2.core.Node node = 1;public Base.NodeOrBuilder getNodeOrBuilder()
The node making the request.
.envoy.api.v2.core.Node node = 1;getNodeOrBuilder in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic 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 = 2;getTypeUrl in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic 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 = 2;getTypeUrlBytes in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.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 = 2;public Discovery.IncrementalDiscoveryRequest.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 = 2;public Discovery.IncrementalDiscoveryRequest.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 = 2;public com.google.protobuf.ProtocolStringList getResourceNamesSubscribeList()
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribeList in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic int getResourceNamesSubscribeCount()
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribeCount in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic String getResourceNamesSubscribe(int index)
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribe in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic com.google.protobuf.ByteString getResourceNamesSubscribeBytes(int index)
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribeBytes in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.Builder setResourceNamesSubscribe(int index, String value)
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public Discovery.IncrementalDiscoveryRequest.Builder addResourceNamesSubscribe(String value)
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public Discovery.IncrementalDiscoveryRequest.Builder addAllResourceNamesSubscribe(Iterable<String> values)
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public Discovery.IncrementalDiscoveryRequest.Builder clearResourceNamesSubscribe()
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public Discovery.IncrementalDiscoveryRequest.Builder addResourceNamesSubscribeBytes(com.google.protobuf.ByteString value)
IncrementalDiscoveryRequests allow the client to add or remove individual resources to the set of tracked resources in the context of a stream. All resource names in the resource_names_subscribe list are added to the set of tracked resources and all resource names in the resource_names_unsubscribe list are removed from the set of tracked resources. Unlike in non incremental xDS, an empty resource_names_subscribe or resource_names_unsubscribe list simply means that no resources are to be added or removed to the resource list. The xDS server must send updates for all tracked resources but can also send updates for resources the client has not subscribed to. This behavior is similar to non incremental xDS. These two fields can be set for all types of IncrementalDiscoveryRequests (initial, ACK/NACK or spontaneous). A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public com.google.protobuf.ProtocolStringList getResourceNamesUnsubscribeList()
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;getResourceNamesUnsubscribeList in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic int getResourceNamesUnsubscribeCount()
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;getResourceNamesUnsubscribeCount in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic String getResourceNamesUnsubscribe(int index)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;getResourceNamesUnsubscribe in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic com.google.protobuf.ByteString getResourceNamesUnsubscribeBytes(int index)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;getResourceNamesUnsubscribeBytes in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.Builder setResourceNamesUnsubscribe(int index, String value)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public Discovery.IncrementalDiscoveryRequest.Builder addResourceNamesUnsubscribe(String value)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public Discovery.IncrementalDiscoveryRequest.Builder addAllResourceNamesUnsubscribe(Iterable<String> values)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public Discovery.IncrementalDiscoveryRequest.Builder clearResourceNamesUnsubscribe()
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public Discovery.IncrementalDiscoveryRequest.Builder addResourceNamesUnsubscribeBytes(com.google.protobuf.ByteString value)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public int getInitialResourceVersionsCount()
Discovery.IncrementalDiscoveryRequestOrBuilderThis map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsCount in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic boolean containsInitialResourceVersions(String key)
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;containsInitialResourceVersions in interface Discovery.IncrementalDiscoveryRequestOrBuilder@Deprecated public Map<String,String> getInitialResourceVersions()
getInitialResourceVersionsMap() instead.getInitialResourceVersions in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Map<String,String> getInitialResourceVersionsMap()
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsMap in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic String getInitialResourceVersionsOrDefault(String key, String defaultValue)
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsOrDefault in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic String getInitialResourceVersionsOrThrow(String key)
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsOrThrow in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.Builder clearInitialResourceVersions()
public Discovery.IncrementalDiscoveryRequest.Builder removeInitialResourceVersions(String key)
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;@Deprecated public Map<String,String> getMutableInitialResourceVersions()
public Discovery.IncrementalDiscoveryRequest.Builder putInitialResourceVersions(String key, String value)
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;public Discovery.IncrementalDiscoveryRequest.Builder putAllInitialResourceVersions(Map<String,String> values)
This map must be populated when the IncrementalDiscoveryRequest is the first in a stream. The keys are the resources names of the xDS resources known to the xDS client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 5;public String getResponseNonce()
When the IncrementalDiscoveryRequest is a ACK or NACK message in response to a previous IncrementalDiscoveryResponse, the response_nonce must be the nonce in the IncrementalDiscoveryResponse. Otherwise response_nonce must be omitted.
string response_nonce = 6;getResponseNonce in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic com.google.protobuf.ByteString getResponseNonceBytes()
When the IncrementalDiscoveryRequest is a ACK or NACK message in response to a previous IncrementalDiscoveryResponse, the response_nonce must be the nonce in the IncrementalDiscoveryResponse. Otherwise response_nonce must be omitted.
string response_nonce = 6;getResponseNonceBytes in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.Builder setResponseNonce(String value)
When the IncrementalDiscoveryRequest is a ACK or NACK message in response to a previous IncrementalDiscoveryResponse, the response_nonce must be the nonce in the IncrementalDiscoveryResponse. Otherwise response_nonce must be omitted.
string response_nonce = 6;public Discovery.IncrementalDiscoveryRequest.Builder clearResponseNonce()
When the IncrementalDiscoveryRequest is a ACK or NACK message in response to a previous IncrementalDiscoveryResponse, the response_nonce must be the nonce in the IncrementalDiscoveryResponse. Otherwise response_nonce must be omitted.
string response_nonce = 6;public Discovery.IncrementalDiscoveryRequest.Builder setResponseNonceBytes(com.google.protobuf.ByteString value)
When the IncrementalDiscoveryRequest is a ACK or NACK message in response to a previous IncrementalDiscoveryResponse, the response_nonce must be the nonce in the IncrementalDiscoveryResponse. Otherwise response_nonce must be omitted.
string response_nonce = 6;public boolean hasErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;hasErrorDetail in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Status getErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;getErrorDetail in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic Discovery.IncrementalDiscoveryRequest.Builder setErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;public Discovery.IncrementalDiscoveryRequest.Builder setErrorDetail(Status.Builder builderForValue)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;public Discovery.IncrementalDiscoveryRequest.Builder mergeErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;public Discovery.IncrementalDiscoveryRequest.Builder clearErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;public Status.Builder getErrorDetailBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;public StatusOrBuilder getErrorDetailOrBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` failed to update configuration. The *message* field in *error_details* provides the Envoy internal exception related to the failure.
.google.rpc.Status error_detail = 7;getErrorDetailOrBuilder in interface Discovery.IncrementalDiscoveryRequestOrBuilderpublic final Discovery.IncrementalDiscoveryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>public final Discovery.IncrementalDiscoveryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Discovery.IncrementalDiscoveryRequest.Builder>Copyright © 2018 The Envoy Project. All rights reserved.