Class ClientConfig.GenericXdsConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ClientConfig.GenericXdsConfigOrBuilder, Cloneable
- Enclosing class:
ClientConfig.GenericXdsConfig
public static final class ClientConfig.GenericXdsConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
implements ClientConfig.GenericXdsConfigOrBuilder
GenericXdsConfig is used to specify the config status and the dump of any xDS resource identified by their type URL. It is the generalized version of the now deprecated ListenersConfigDump, ClustersConfigDump etc [#next-free-field: 10]Protobuf type
envoy.service.status.v3.ClientConfig.GenericXdsConfig-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate UpdateFailureStateprivate com.google.protobuf.SingleFieldBuilder<UpdateFailureState, UpdateFailureState.Builder, UpdateFailureStateOrBuilder> private booleanprivate com.google.protobuf.Timestampprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> private Objectprivate Objectprivate Objectprivate com.google.protobuf.Anyprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidclear()Per xDS resource status from the view of a xDS clientPer xDS resource config status.Set if the last update failed, cleared after the next successful update.Is static resource is true if it is specified in the config supplied through the file at the startup.Timestamp when the xDS resource was last updatedName of the xDS resourceType_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.The xDS resource config.Per xDS resource status from the view of a xDS clientintPer xDS resource status from the view of a xDS clientPer xDS resource config status.intPer xDS resource config status.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSet if the last update failed, cleared after the next successful update.Set if the last update failed, cleared after the next successful update.Set if the last update failed, cleared after the next successful update.booleanIs static resource is true if it is specified in the config supplied through the file at the startup.com.google.protobuf.TimestampTimestamp when the xDS resource was last updatedcom.google.protobuf.Timestamp.BuilderTimestamp when the xDS resource was last updatedcom.google.protobuf.TimestampOrBuilderTimestamp when the xDS resource was last updatedgetName()Name of the xDS resourcecom.google.protobuf.ByteStringName of the xDS resourceType_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.ByteStringType_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.com.google.protobuf.ByteStringThis is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.com.google.protobuf.AnyThe xDS resource config.com.google.protobuf.Any.BuilderThe xDS resource config.com.google.protobuf.AnyOrBuilderThe xDS resource config.booleanSet if the last update failed, cleared after the next successful update.booleanTimestamp when the xDS resource was last updatedbooleanThe xDS resource config.private com.google.protobuf.SingleFieldBuilder<UpdateFailureState, UpdateFailureState.Builder, UpdateFailureStateOrBuilder> Set if the last update failed, cleared after the next successful update.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> Timestamp when the xDS resource was last updatedprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> The xDS resource config.final booleanprivate voidSet if the last update failed, cleared after the next successful update.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastUpdated(com.google.protobuf.Timestamp value) Timestamp when the xDS resource was last updatedmergeXdsConfig(com.google.protobuf.Any value) The xDS resource config.Per xDS resource status from the view of a xDS clientsetClientStatusValue(int value) Per xDS resource status from the view of a xDS clientsetConfigStatus(ConfigStatus value) Per xDS resource config status.setConfigStatusValue(int value) Per xDS resource config status.setErrorState(UpdateFailureState value) Set if the last update failed, cleared after the next successful update.setErrorState(UpdateFailureState.Builder builderForValue) Set if the last update failed, cleared after the next successful update.setIsStaticResource(boolean value) Is static resource is true if it is specified in the config supplied through the file at the startup.setLastUpdated(com.google.protobuf.Timestamp value) Timestamp when the xDS resource was last updatedsetLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the xDS resource was last updatedName of the xDS resourcesetNameBytes(com.google.protobuf.ByteString value) Name of the xDS resourcesetTypeUrl(String value) Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.setTypeUrlBytes(com.google.protobuf.ByteString value) Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.setVersionInfo(String value) This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.setVersionInfoBytes(com.google.protobuf.ByteString value) This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.setXdsConfig(com.google.protobuf.Any value) The xDS resource config.setXdsConfig(com.google.protobuf.Any.Builder builderForValue) The xDS resource config.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
typeUrl_
-
name_
-
versionInfo_
-
xdsConfig_
private com.google.protobuf.Any xdsConfig_ -
xdsConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> xdsConfigBuilder_ -
lastUpdated_
private com.google.protobuf.Timestamp lastUpdated_ -
lastUpdatedBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_ -
configStatus_
private int configStatus_ -
clientStatus_
private int clientStatus_ -
errorState_
-
errorStateBuilder_
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState, UpdateFailureState.Builder, UpdateFailureStateOrBuilder> errorStateBuilder_ -
isStaticResource_
private boolean isStaticResource_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
mergeFrom
public ClientConfig.GenericXdsConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClientConfig.GenericXdsConfig.Builder>- Throws:
IOException
-
getTypeUrl
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
string type_url = 1;- Specified by:
getTypeUrlin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The typeUrl.
-
getTypeUrlBytes
public com.google.protobuf.ByteString getTypeUrlBytes()Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
string type_url = 1;- Specified by:
getTypeUrlBytesin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The bytes for typeUrl.
-
setTypeUrl
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
string type_url = 1;- Parameters:
value- The typeUrl to set.- Returns:
- This builder for chaining.
-
clearTypeUrl
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
string type_url = 1;- Returns:
- This builder for chaining.
-
setTypeUrlBytes
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
string type_url = 1;- Parameters:
value- The bytes for typeUrl to set.- Returns:
- This builder for chaining.
-
getName
Name of the xDS resource
string name = 2;- Specified by:
getNamein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the xDS resource
string name = 2;- Specified by:
getNameBytesin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the xDS resource
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the xDS resource
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the xDS resource
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersionInfo
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response. If there are only static bootstrap listeners, this field will be ""
string version_info = 3;- Specified by:
getVersionInfoin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response. If there are only static bootstrap listeners, this field will be ""
string version_info = 3;- Specified by:
getVersionInfoBytesin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The bytes for versionInfo.
-
setVersionInfo
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response. If there are only static bootstrap listeners, this field will be ""
string version_info = 3;- Parameters:
value- The versionInfo to set.- Returns:
- This builder for chaining.
-
clearVersionInfo
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response. If there are only static bootstrap listeners, this field will be ""
string version_info = 3;- Returns:
- This builder for chaining.
-
setVersionInfoBytes
public ClientConfig.GenericXdsConfig.Builder setVersionInfoBytes(com.google.protobuf.ByteString value) This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response. If there are only static bootstrap listeners, this field will be ""
string version_info = 3;- Parameters:
value- The bytes for versionInfo to set.- Returns:
- This builder for chaining.
-
hasXdsConfig
public boolean hasXdsConfig()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;- Specified by:
hasXdsConfigin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- Whether the xdsConfig field is set.
-
getXdsConfig
public com.google.protobuf.Any getXdsConfig()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;- Specified by:
getXdsConfigin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The xdsConfig.
-
setXdsConfig
The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
setXdsConfig
public ClientConfig.GenericXdsConfig.Builder setXdsConfig(com.google.protobuf.Any.Builder builderForValue) The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
mergeXdsConfig
The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
clearXdsConfig
The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
getXdsConfigBuilder
public com.google.protobuf.Any.Builder getXdsConfigBuilder()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
getXdsConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getXdsConfigOrBuilder()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;- Specified by:
getXdsConfigOrBuilderin interfaceClientConfig.GenericXdsConfigOrBuilder
-
internalGetXdsConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> internalGetXdsConfigFieldBuilder()The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4; -
hasLastUpdated
public boolean hasLastUpdated()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Specified by:
hasLastUpdatedin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Specified by:
getLastUpdatedin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
setLastUpdated
public ClientConfig.GenericXdsConfig.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
mergeLastUpdated
Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
clearLastUpdated
Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
getLastUpdatedBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;- Specified by:
getLastUpdatedOrBuilderin interfaceClientConfig.GenericXdsConfigOrBuilder
-
internalGetLastUpdatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> internalGetLastUpdatedFieldBuilder()Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5; -
getConfigStatusValue
public int getConfigStatusValue()Per xDS resource config status. It is generated by management servers. It will not be present if the CSDS server is an xDS client.
.envoy.service.status.v3.ConfigStatus config_status = 6;- Specified by:
getConfigStatusValuein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The enum numeric value on the wire for configStatus.
-
setConfigStatusValue
Per xDS resource config status. It is generated by management servers. It will not be present if the CSDS server is an xDS client.
.envoy.service.status.v3.ConfigStatus config_status = 6;- Parameters:
value- The enum numeric value on the wire for configStatus to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getConfigStatus
Per xDS resource config status. It is generated by management servers. It will not be present if the CSDS server is an xDS client.
.envoy.service.status.v3.ConfigStatus config_status = 6;- Specified by:
getConfigStatusin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The configStatus.
-
setConfigStatus
Per xDS resource config status. It is generated by management servers. It will not be present if the CSDS server is an xDS client.
.envoy.service.status.v3.ConfigStatus config_status = 6;- Parameters:
value- The configStatus to set.- Returns:
- This builder for chaining.
-
clearConfigStatus
Per xDS resource config status. It is generated by management servers. It will not be present if the CSDS server is an xDS client.
.envoy.service.status.v3.ConfigStatus config_status = 6;- Returns:
- This builder for chaining.
-
getClientStatusValue
public int getClientStatusValue()Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Specified by:
getClientStatusValuein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The enum numeric value on the wire for clientStatus.
-
setClientStatusValue
Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Parameters:
value- The enum numeric value on the wire for clientStatus to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getClientStatus
Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Specified by:
getClientStatusin interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The clientStatus.
-
setClientStatus
Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Parameters:
value- The clientStatus to set.- Returns:
- This builder for chaining.
-
clearClientStatus
Per xDS resource status from the view of a xDS client
.envoy.admin.v3.ClientResourceStatus client_status = 7;- Returns:
- This builder for chaining.
-
hasErrorState
public boolean hasErrorState()Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8;- Specified by:
hasErrorStatein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- Whether the errorState field is set.
-
getErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8;- Specified by:
getErrorStatein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The errorState.
-
setErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8; -
setErrorState
public ClientConfig.GenericXdsConfig.Builder setErrorState(UpdateFailureState.Builder builderForValue) Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8; -
mergeErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8; -
clearErrorState
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8; -
getErrorStateBuilder
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8; -
getErrorStateOrBuilder
Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8;- Specified by:
getErrorStateOrBuilderin interfaceClientConfig.GenericXdsConfigOrBuilder
-
internalGetErrorStateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState, UpdateFailureState.Builder, UpdateFailureStateOrBuilder> internalGetErrorStateFieldBuilder()Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]
.envoy.admin.v3.UpdateFailureState error_state = 8; -
getIsStaticResource
public boolean getIsStaticResource()Is static resource is true if it is specified in the config supplied through the file at the startup.
bool is_static_resource = 9;- Specified by:
getIsStaticResourcein interfaceClientConfig.GenericXdsConfigOrBuilder- Returns:
- The isStaticResource.
-
setIsStaticResource
Is static resource is true if it is specified in the config supplied through the file at the startup.
bool is_static_resource = 9;- Parameters:
value- The isStaticResource to set.- Returns:
- This builder for chaining.
-
clearIsStaticResource
Is static resource is true if it is specified in the config supplied through the file at the startup.
bool is_static_resource = 9;- Returns:
- This builder for chaining.
-