public interface DiscoveryResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCanary()
[#not-implemented-hide:]
Canary is used to support two Envoy command line flags:
* --terminate-on-canary-transition-failure.
|
ControlPlane |
getControlPlane()
[#not-implemented-hide:]
The control plane instance that sent the response.
|
ControlPlaneOrBuilder |
getControlPlaneOrBuilder()
[#not-implemented-hide:]
The control plane instance that sent the response.
|
String |
getNonce()
For gRPC based subscriptions, the nonce provides a way to explicitly ack a
specific DiscoveryResponse in a following DiscoveryRequest.
|
com.google.protobuf.ByteString |
getNonceBytes()
For gRPC based subscriptions, the nonce provides a way to explicitly ack a
specific DiscoveryResponse in a following DiscoveryRequest.
|
com.google.protobuf.Any |
getResources(int index)
The response resources.
|
int |
getResourcesCount()
The response resources.
|
List<com.google.protobuf.Any> |
getResourcesList()
The response resources.
|
com.google.protobuf.AnyOrBuilder |
getResourcesOrBuilder(int index)
The response resources.
|
List<? extends com.google.protobuf.AnyOrBuilder> |
getResourcesOrBuilderList()
The response resources.
|
String |
getTypeUrl()
Type URL for resources.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
Type URL for resources.
|
String |
getVersionInfo()
The version of the response data.
|
com.google.protobuf.ByteString |
getVersionInfoBytes()
The version of the response data.
|
boolean |
hasControlPlane()
[#not-implemented-hide:]
The control plane instance that sent the response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getVersionInfo()
The version of the response data.
string version_info = 1;com.google.protobuf.ByteString getVersionInfoBytes()
The version of the response data.
string version_info = 1;List<com.google.protobuf.Any> getResourcesList()
The response resources. These resources are typed and depend on the API being called.
repeated .google.protobuf.Any resources = 2;com.google.protobuf.Any getResources(int index)
The response resources. These resources are typed and depend on the API being called.
repeated .google.protobuf.Any resources = 2;int getResourcesCount()
The response resources. These resources are typed and depend on the API being called.
repeated .google.protobuf.Any resources = 2;List<? extends com.google.protobuf.AnyOrBuilder> getResourcesOrBuilderList()
The response resources. These resources are typed and depend on the API being called.
repeated .google.protobuf.Any resources = 2;com.google.protobuf.AnyOrBuilder getResourcesOrBuilder(int index)
The response resources. These resources are typed and depend on the API being called.
repeated .google.protobuf.Any resources = 2;boolean getCanary()
[#not-implemented-hide:] Canary is used to support two Envoy command line flags: * --terminate-on-canary-transition-failure. When set, Envoy is able to terminate if it detects that configuration is stuck at canary. Consider this example sequence of updates: - Management server applies a canary config successfully. - Management server rolls back to a production config. - Envoy rejects the new production config. Since there is no sensible way to continue receiving configuration updates, Envoy will then terminate and apply production config from a clean slate. * --dry-run-canary. When set, a canary response will never be applied, only validated via a dry run.
bool canary = 3;String getTypeUrl()
Type URL for resources. Identifies the xDS API when muxing over ADS. Must be consistent with the type_url in the 'resources' repeated Any (if non-empty).
string type_url = 4;com.google.protobuf.ByteString getTypeUrlBytes()
Type URL for resources. Identifies the xDS API when muxing over ADS. Must be consistent with the type_url in the 'resources' repeated Any (if non-empty).
string type_url = 4;String getNonce()
For gRPC based subscriptions, the nonce provides a way to explicitly ack a specific DiscoveryResponse in a following DiscoveryRequest. Additional messages may have been sent by Envoy to the management server for the previous version on the stream prior to this DiscoveryResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further DiscoveryRequests for the previous version until a DiscoveryRequest bearing the nonce. The nonce is optional and is not required for non-stream based xDS implementations.
string nonce = 5;com.google.protobuf.ByteString getNonceBytes()
For gRPC based subscriptions, the nonce provides a way to explicitly ack a specific DiscoveryResponse in a following DiscoveryRequest. Additional messages may have been sent by Envoy to the management server for the previous version on the stream prior to this DiscoveryResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further DiscoveryRequests for the previous version until a DiscoveryRequest bearing the nonce. The nonce is optional and is not required for non-stream based xDS implementations.
string nonce = 5;boolean hasControlPlane()
[#not-implemented-hide:] The control plane instance that sent the response.
.envoy.config.core.v3.ControlPlane control_plane = 6;ControlPlane getControlPlane()
[#not-implemented-hide:] The control plane instance that sent the response.
.envoy.config.core.v3.ControlPlane control_plane = 6;ControlPlaneOrBuilder getControlPlaneOrBuilder()
[#not-implemented-hide:] The control plane instance that sent the response.
.envoy.config.core.v3.ControlPlane control_plane = 6;Copyright © 2018–2021 The Envoy Project. All rights reserved.