Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* The response resources. These resources are typed and depend on the API being called.
*
*
* repeated .google.protobuf.Any resources = 2;
*/
@java.lang.Override
public com.google.protobuf.AnyOrBuilder getResourcesOrBuilder(
int index) {
return resources_.get(index);
}
public static final int CANARY_FIELD_NUMBER = 3;
private boolean canary_;
/**
*
* [#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;
* @return The canary.
*/
@java.lang.Override
public boolean getCanary() {
return canary_;
}
public static final int TYPE_URL_FIELD_NUMBER = 4;
private volatile java.lang.Object typeUrl_;
/**
*
* 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).
*
* 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;
* @return The bytes for typeUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeUrlBytes() {
java.lang.Object ref = typeUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NONCE_FIELD_NUMBER = 5;
private volatile java.lang.Object nonce_;
/**
*
* 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.
*
* 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;
* @return The bytes for nonce.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNonceBytes() {
java.lang.Object ref = nonce_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nonce_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTROL_PLANE_FIELD_NUMBER = 6;
private io.envoyproxy.envoy.api.v2.core.ControlPlane controlPlane_;
/**
*
* [#not-implemented-hide:]
* The control plane instance that sent the response.
*
*
* .envoy.api.v2.core.ControlPlane control_plane = 6;
* @return Whether the controlPlane field is set.
*/
@java.lang.Override
public boolean hasControlPlane() {
return controlPlane_ != null;
}
/**
*
* [#not-implemented-hide:]
* The control plane instance that sent the response.
*
* [#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.
*
* [#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;
* @param value The canary to set.
* @return This builder for chaining.
*/
public Builder setCanary(boolean value) {
canary_ = value;
onChanged();
return this;
}
/**
*
* [#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.
*
* 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).
*
* 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;
* @return The bytes for typeUrl.
*/
public com.google.protobuf.ByteString
getTypeUrlBytes() {
java.lang.Object ref = typeUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 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;
* @param value The typeUrl to set.
* @return This builder for chaining.
*/
public Builder setTypeUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
typeUrl_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearTypeUrl() {
typeUrl_ = getDefaultInstance().getTypeUrl();
onChanged();
return this;
}
/**
*
* 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;
* @param value The bytes for typeUrl to set.
* @return This builder for chaining.
*/
public Builder setTypeUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
typeUrl_ = value;
onChanged();
return this;
}
private java.lang.Object nonce_ = "";
/**
*
* 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.
*
* 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;
* @return The bytes for nonce.
*/
public com.google.protobuf.ByteString
getNonceBytes() {
java.lang.Object ref = nonce_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nonce_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 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;
* @param value The nonce to set.
* @return This builder for chaining.
*/
public Builder setNonce(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nonce_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearNonce() {
nonce_ = getDefaultInstance().getNonce();
onChanged();
return this;
}
/**
*
* 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;
* @param value The bytes for nonce to set.
* @return This builder for chaining.
*/
public Builder setNonceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nonce_ = value;
onChanged();
return this;
}
private io.envoyproxy.envoy.api.v2.core.ControlPlane controlPlane_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.ControlPlane, io.envoyproxy.envoy.api.v2.core.ControlPlane.Builder, io.envoyproxy.envoy.api.v2.core.ControlPlaneOrBuilder> controlPlaneBuilder_;
/**
*
* [#not-implemented-hide:]
* The control plane instance that sent the response.
*
*
* .envoy.api.v2.core.ControlPlane control_plane = 6;
* @return Whether the controlPlane field is set.
*/
public boolean hasControlPlane() {
return controlPlaneBuilder_ != null || controlPlane_ != null;
}
/**
*
* [#not-implemented-hide:]
* The control plane instance that sent the response.
*