public static final class DeltaDiscoveryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder> implements DeltaDiscoveryRequestOrBuilder
DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC endpoint for Delta xDS. With Delta xDS, the DeltaDiscoveryResponses do not need to include a full snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a diff to the state of a xDS client. In Delta XDS there are per-resource versions, which allow tracking state at the resource granularity. An xDS Delta 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 Delta xDS the nonce field is required and used to pair DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. Optionally, a response message level system_version_info is present for debugging purposes only. DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest can be either or both of: [1] informing the server of what resources the client has gained/lost interest in (using resource_names_subscribe and resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from the server (using response_nonce, with presence of error_detail making it a NACK). Additionally, the first message (for a given type_url) of a reconnected gRPC stream has a third role: informing the server of the resources (and their versions) that the client already possesses, using the initial_resource_versions field. As with state-of-the-world, when multiple resource types are multiplexed (ADS), all requests/acknowledgments/updates are logically walled off by type_url: a Cluster ACK exists in a completely separate world from a prior Route NACK. In particular, initial_resource_versions being sent at the "start" of every gRPC stream actually entails a message for each type_url, each with its own initial_resource_versions. [#next-free-field: 8]Protobuf type
envoy.service.discovery.v4alpha.DeltaDiscoveryRequest| Modifier and Type | Method and Description |
|---|---|
DeltaDiscoveryRequest.Builder |
addAllResourceNamesSubscribe(Iterable<String> values)
DeltaDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
DeltaDiscoveryRequest.Builder |
addAllResourceNamesUnsubscribe(Iterable<String> values)
A list of Resource names to remove from the list of tracked resources.
|
DeltaDiscoveryRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeltaDiscoveryRequest.Builder |
addResourceNamesSubscribe(String value)
DeltaDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
DeltaDiscoveryRequest.Builder |
addResourceNamesSubscribeBytes(com.google.protobuf.ByteString value)
DeltaDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
DeltaDiscoveryRequest.Builder |
addResourceNamesUnsubscribe(String value)
A list of Resource names to remove from the list of tracked resources.
|
DeltaDiscoveryRequest.Builder |
addResourceNamesUnsubscribeBytes(com.google.protobuf.ByteString value)
A list of Resource names to remove from the list of tracked resources.
|
DeltaDiscoveryRequest |
build() |
DeltaDiscoveryRequest |
buildPartial() |
DeltaDiscoveryRequest.Builder |
clear() |
DeltaDiscoveryRequest.Builder |
clearErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
DeltaDiscoveryRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DeltaDiscoveryRequest.Builder |
clearInitialResourceVersions() |
DeltaDiscoveryRequest.Builder |
clearNode()
The node making the request.
|
DeltaDiscoveryRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeltaDiscoveryRequest.Builder |
clearResourceNamesSubscribe()
DeltaDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
DeltaDiscoveryRequest.Builder |
clearResourceNamesUnsubscribe()
A list of Resource names to remove from the list of tracked resources.
|
DeltaDiscoveryRequest.Builder |
clearResponseNonce()
When the DeltaDiscoveryRequest is a ACK or NACK message in response
to a previous DeltaDiscoveryResponse, the response_nonce must be the
nonce in the DeltaDiscoveryResponse.
|
DeltaDiscoveryRequest.Builder |
clearTypeUrl()
Type of the resource that is being requested, e.g.
|
DeltaDiscoveryRequest.Builder |
clone() |
boolean |
containsInitialResourceVersions(String key)
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
DeltaDiscoveryRequest |
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_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
Status.Builder |
getErrorDetailBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
StatusOrBuilder |
getErrorDetailOrBuilder()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
Map<String,String> |
getInitialResourceVersions()
Deprecated.
|
int |
getInitialResourceVersionsCount()
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
Map<String,String> |
getInitialResourceVersionsMap()
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
String |
getInitialResourceVersionsOrDefault(String key,
String defaultValue)
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
String |
getInitialResourceVersionsOrThrow(String key)
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
Map<String,String> |
getMutableInitialResourceVersions()
Deprecated.
|
Node |
getNode()
The node making the request.
|
Node.Builder |
getNodeBuilder()
The node making the request.
|
NodeOrBuilder |
getNodeOrBuilder()
The node making the request.
|
String |
getResourceNamesSubscribe(int index)
DeltaDiscoveryRequests 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)
DeltaDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
int |
getResourceNamesSubscribeCount()
DeltaDiscoveryRequests 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()
DeltaDiscoveryRequests 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 DeltaDiscoveryRequest is a ACK or NACK message in response
to a previous DeltaDiscoveryResponse, the response_nonce must be the
nonce in the DeltaDiscoveryResponse.
|
com.google.protobuf.ByteString |
getResponseNonceBytes()
When the DeltaDiscoveryRequest is a ACK or NACK message in response
to a previous DeltaDiscoveryResponse, the response_nonce must be the
nonce in the DeltaDiscoveryResponse.
|
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_service.discovery.v4alpha.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() |
DeltaDiscoveryRequest.Builder |
mergeErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
DeltaDiscoveryRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeltaDiscoveryRequest.Builder |
mergeFrom(DeltaDiscoveryRequest other) |
DeltaDiscoveryRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeltaDiscoveryRequest.Builder |
mergeNode(Node value)
The node making the request.
|
DeltaDiscoveryRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeltaDiscoveryRequest.Builder |
putAllInitialResourceVersions(Map<String,String> values)
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
DeltaDiscoveryRequest.Builder |
putInitialResourceVersions(String key,
String value)
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
DeltaDiscoveryRequest.Builder |
removeInitialResourceVersions(String key)
Informs the server of the versions of the resources the xDS client knows of, to enable the
client to continue the same logical xDS session even in the face of gRPC stream reconnection.
|
DeltaDiscoveryRequest.Builder |
setErrorDetail(Status.Builder builderForValue)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
DeltaDiscoveryRequest.Builder |
setErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.DiscoveryResponse>`
failed to update configuration.
|
DeltaDiscoveryRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeltaDiscoveryRequest.Builder |
setNode(Node.Builder builderForValue)
The node making the request.
|
DeltaDiscoveryRequest.Builder |
setNode(Node value)
The node making the request.
|
DeltaDiscoveryRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeltaDiscoveryRequest.Builder |
setResourceNamesSubscribe(int index,
String value)
DeltaDiscoveryRequests allow the client to add or remove individual
resources to the set of tracked resources in the context of a stream.
|
DeltaDiscoveryRequest.Builder |
setResourceNamesUnsubscribe(int index,
String value)
A list of Resource names to remove from the list of tracked resources.
|
DeltaDiscoveryRequest.Builder |
setResponseNonce(String value)
When the DeltaDiscoveryRequest is a ACK or NACK message in response
to a previous DeltaDiscoveryResponse, the response_nonce must be the
nonce in the DeltaDiscoveryResponse.
|
DeltaDiscoveryRequest.Builder |
setResponseNonceBytes(com.google.protobuf.ByteString value)
When the DeltaDiscoveryRequest is a ACK or NACK message in response
to a previous DeltaDiscoveryResponse, the response_nonce must be the
nonce in the DeltaDiscoveryResponse.
|
DeltaDiscoveryRequest.Builder |
setTypeUrl(String value)
Type of the resource that is being requested, e.g.
|
DeltaDiscoveryRequest.Builder |
setTypeUrlBytes(com.google.protobuf.ByteString value)
Type of the resource that is being requested, e.g.
|
DeltaDiscoveryRequest.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<DeltaDiscoveryRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.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<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeltaDiscoveryRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeltaDiscoveryRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeltaDiscoveryRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.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<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.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<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.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<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.Builder mergeFrom(DeltaDiscoveryRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>public DeltaDiscoveryRequest.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<DeltaDiscoveryRequest.Builder>IOExceptionpublic boolean hasNode()
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;hasNode in interface DeltaDiscoveryRequestOrBuilderpublic Node getNode()
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;getNode in interface DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.Builder setNode(Node value)
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;public DeltaDiscoveryRequest.Builder setNode(Node.Builder builderForValue)
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;public DeltaDiscoveryRequest.Builder mergeNode(Node value)
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;public DeltaDiscoveryRequest.Builder clearNode()
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;public Node.Builder getNodeBuilder()
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;public NodeOrBuilder getNodeOrBuilder()
The node making the request.
.envoy.config.core.v4alpha.Node node = 1;getNodeOrBuilder in interface DeltaDiscoveryRequestOrBuilderpublic String getTypeUrl()
Type of the resource that is being requested, e.g. "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This does not need to be set if resources are only referenced via *xds_resource_subscribe* and *xds_resources_unsubscribe*.
string type_url = 2;getTypeUrl in interface DeltaDiscoveryRequestOrBuilderpublic com.google.protobuf.ByteString getTypeUrlBytes()
Type of the resource that is being requested, e.g. "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This does not need to be set if resources are only referenced via *xds_resource_subscribe* and *xds_resources_unsubscribe*.
string type_url = 2;getTypeUrlBytes in interface DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.Builder setTypeUrl(String value)
Type of the resource that is being requested, e.g. "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This does not need to be set if resources are only referenced via *xds_resource_subscribe* and *xds_resources_unsubscribe*.
string type_url = 2;public DeltaDiscoveryRequest.Builder clearTypeUrl()
Type of the resource that is being requested, e.g. "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This does not need to be set if resources are only referenced via *xds_resource_subscribe* and *xds_resources_unsubscribe*.
string type_url = 2;public DeltaDiscoveryRequest.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 does not need to be set if resources are only referenced via *xds_resource_subscribe* and *xds_resources_unsubscribe*.
string type_url = 2;public com.google.protobuf.ProtocolStringList getResourceNamesSubscribeList()
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribeList in interface DeltaDiscoveryRequestOrBuilderpublic int getResourceNamesSubscribeCount()
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribeCount in interface DeltaDiscoveryRequestOrBuilderpublic String getResourceNamesSubscribe(int index)
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribe in interface DeltaDiscoveryRequestOrBuilderpublic com.google.protobuf.ByteString getResourceNamesSubscribeBytes(int index)
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;getResourceNamesSubscribeBytes in interface DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.Builder setResourceNamesSubscribe(int index, String value)
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public DeltaDiscoveryRequest.Builder addResourceNamesSubscribe(String value)
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public DeltaDiscoveryRequest.Builder addAllResourceNamesSubscribe(Iterable<String> values)
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public DeltaDiscoveryRequest.Builder clearResourceNamesSubscribe()
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. A list of Resource names to add to the list of tracked resources.
repeated string resource_names_subscribe = 3;public DeltaDiscoveryRequest.Builder addResourceNamesSubscribeBytes(com.google.protobuf.ByteString value)
DeltaDiscoveryRequests 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* state-of-the-world 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. *Like* state-of-the-world xDS, the server must send updates for all tracked resources, but can also send updates for resources the client has not subscribed to. NOTE: the server must respond with all resources listed in resource_names_subscribe, even if it believes the client has the most recent version of them. The reason: the client may have dropped them, but then regained interest before it had a chance to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. These two fields can be set in any DeltaDiscoveryRequest, including ACKs and initial_resource_versions. 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 DeltaDiscoveryRequestOrBuilderpublic int getResourceNamesUnsubscribeCount()
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;getResourceNamesUnsubscribeCount in interface DeltaDiscoveryRequestOrBuilderpublic 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 DeltaDiscoveryRequestOrBuilderpublic 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 DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.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 DeltaDiscoveryRequest.Builder addResourceNamesUnsubscribe(String value)
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public DeltaDiscoveryRequest.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 DeltaDiscoveryRequest.Builder clearResourceNamesUnsubscribe()
A list of Resource names to remove from the list of tracked resources.
repeated string resource_names_unsubscribe = 4;public DeltaDiscoveryRequest.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()
DeltaDiscoveryRequestOrBuilderInforms the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsCount in interface DeltaDiscoveryRequestOrBuilderpublic boolean containsInitialResourceVersions(String key)
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;containsInitialResourceVersions in interface DeltaDiscoveryRequestOrBuilder@Deprecated public Map<String,String> getInitialResourceVersions()
getInitialResourceVersionsMap() instead.getInitialResourceVersions in interface DeltaDiscoveryRequestOrBuilderpublic Map<String,String> getInitialResourceVersionsMap()
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsMap in interface DeltaDiscoveryRequestOrBuilderpublic String getInitialResourceVersionsOrDefault(String key, String defaultValue)
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsOrDefault in interface DeltaDiscoveryRequestOrBuilderpublic String getInitialResourceVersionsOrThrow(String key)
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;getInitialResourceVersionsOrThrow in interface DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.Builder clearInitialResourceVersions()
public DeltaDiscoveryRequest.Builder removeInitialResourceVersions(String key)
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;@Deprecated public Map<String,String> getMutableInitialResourceVersions()
public DeltaDiscoveryRequest.Builder putInitialResourceVersions(String key, String value)
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;public DeltaDiscoveryRequest.Builder putAllInitialResourceVersions(Map<String,String> values)
Informs the server of the versions of the resources the xDS client knows of, to enable the client to continue the same logical xDS session even in the face of gRPC stream reconnection. It will not be populated: [1] in the very first stream of a session, since the client will not yet have any resources, [2] in any message after the first in a stream (for a given type_url), since the server will already be correctly tracking the client's state. (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) The map's keys are names of xDS resources known to the xDS client. The map's values are opaque resource versions.
map<string, string> initial_resource_versions = 5;public String getResponseNonce()
When the DeltaDiscoveryRequest is a ACK or NACK message in response to a previous DeltaDiscoveryResponse, the response_nonce must be the nonce in the DeltaDiscoveryResponse. Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
string response_nonce = 6;getResponseNonce in interface DeltaDiscoveryRequestOrBuilderpublic com.google.protobuf.ByteString getResponseNonceBytes()
When the DeltaDiscoveryRequest is a ACK or NACK message in response to a previous DeltaDiscoveryResponse, the response_nonce must be the nonce in the DeltaDiscoveryResponse. Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
string response_nonce = 6;getResponseNonceBytes in interface DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.Builder setResponseNonce(String value)
When the DeltaDiscoveryRequest is a ACK or NACK message in response to a previous DeltaDiscoveryResponse, the response_nonce must be the nonce in the DeltaDiscoveryResponse. Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
string response_nonce = 6;public DeltaDiscoveryRequest.Builder clearResponseNonce()
When the DeltaDiscoveryRequest is a ACK or NACK message in response to a previous DeltaDiscoveryResponse, the response_nonce must be the nonce in the DeltaDiscoveryResponse. Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
string response_nonce = 6;public DeltaDiscoveryRequest.Builder setResponseNonceBytes(com.google.protobuf.ByteString value)
When the DeltaDiscoveryRequest is a ACK or NACK message in response to a previous DeltaDiscoveryResponse, the response_nonce must be the nonce in the DeltaDiscoveryResponse. Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
string response_nonce = 6;public boolean hasErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.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 DeltaDiscoveryRequestOrBuilderpublic Status getErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.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 DeltaDiscoveryRequestOrBuilderpublic DeltaDiscoveryRequest.Builder setErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.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 DeltaDiscoveryRequest.Builder setErrorDetail(Status.Builder builderForValue)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.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 DeltaDiscoveryRequest.Builder mergeErrorDetail(Status value)
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.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 DeltaDiscoveryRequest.Builder clearErrorDetail()
This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v4alpha.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_service.discovery.v4alpha.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_service.discovery.v4alpha.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 DeltaDiscoveryRequestOrBuilderpublic final DeltaDiscoveryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>public final DeltaDiscoveryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryRequest.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.