Class ClientConfig.GenericXdsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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 typeenvoy.service.status.v3.ClientConfig.GenericXdsConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientConfig.GenericXdsConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ClientConfig.GenericXdsConfigbuild()ClientConfig.GenericXdsConfigbuildPartial()ClientConfig.GenericXdsConfig.Builderclear()ClientConfig.GenericXdsConfig.BuilderclearClientStatus()Per xDS resource status from the view of a xDS clientClientConfig.GenericXdsConfig.BuilderclearConfigStatus()Per xDS resource config status.ClientConfig.GenericXdsConfig.BuilderclearErrorState()Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ClientConfig.GenericXdsConfig.BuilderclearIsStaticResource()Is static resource is true if it is specified in the config supplied through the file at the startup.ClientConfig.GenericXdsConfig.BuilderclearLastUpdated()Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.BuilderclearName()Name of the xDS resourceClientConfig.GenericXdsConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ClientConfig.GenericXdsConfig.BuilderclearTypeUrl()Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.ClientConfig.GenericXdsConfig.BuilderclearVersionInfo()This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed xDS discovery response.ClientConfig.GenericXdsConfig.BuilderclearXdsConfig()The xDS resource config.ClientConfig.GenericXdsConfig.Builderclone()ClientResourceStatusgetClientStatus()Per xDS resource status from the view of a xDS clientintgetClientStatusValue()Per xDS resource status from the view of a xDS clientConfigStatusgetConfigStatus()Per xDS resource config status.intgetConfigStatusValue()Per xDS resource config status.ClientConfig.GenericXdsConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()UpdateFailureStategetErrorState()Set if the last update failed, cleared after the next successful update.UpdateFailureState.BuildergetErrorStateBuilder()Set if the last update failed, cleared after the next successful update.UpdateFailureStateOrBuildergetErrorStateOrBuilder()Set if the last update failed, cleared after the next successful update.booleangetIsStaticResource()Is static resource is true if it is specified in the config supplied through the file at the startup.com.google.protobuf.TimestampgetLastUpdated()Timestamp when the xDS resource was last updatedcom.google.protobuf.Timestamp.BuildergetLastUpdatedBuilder()Timestamp when the xDS resource was last updatedcom.google.protobuf.TimestampOrBuildergetLastUpdatedOrBuilder()Timestamp when the xDS resource was last updatedStringgetName()Name of the xDS resourcecom.google.protobuf.ByteStringgetNameBytes()Name of the xDS resourceStringgetTypeUrl()Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.ByteStringgetTypeUrlBytes()Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.StringgetVersionInfo()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.ByteStringgetVersionInfoBytes()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.AnygetXdsConfig()The xDS resource config.com.google.protobuf.Any.BuildergetXdsConfigBuilder()The xDS resource config.com.google.protobuf.AnyOrBuildergetXdsConfigOrBuilder()The xDS resource config.booleanhasErrorState()Set if the last update failed, cleared after the next successful update.booleanhasLastUpdated()Timestamp when the xDS resource was last updatedbooleanhasXdsConfig()The xDS resource config.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ClientConfig.GenericXdsConfig.BuildermergeErrorState(UpdateFailureState value)Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ClientConfig.GenericXdsConfig.BuildermergeFrom(com.google.protobuf.Message other)ClientConfig.GenericXdsConfig.BuildermergeFrom(ClientConfig.GenericXdsConfig other)ClientConfig.GenericXdsConfig.BuildermergeLastUpdated(com.google.protobuf.Timestamp value)Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ClientConfig.GenericXdsConfig.BuildermergeXdsConfig(com.google.protobuf.Any value)The xDS resource config.ClientConfig.GenericXdsConfig.BuildersetClientStatus(ClientResourceStatus value)Per xDS resource status from the view of a xDS clientClientConfig.GenericXdsConfig.BuildersetClientStatusValue(int value)Per xDS resource status from the view of a xDS clientClientConfig.GenericXdsConfig.BuildersetConfigStatus(ConfigStatus value)Per xDS resource config status.ClientConfig.GenericXdsConfig.BuildersetConfigStatusValue(int value)Per xDS resource config status.ClientConfig.GenericXdsConfig.BuildersetErrorState(UpdateFailureState value)Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.BuildersetErrorState(UpdateFailureState.Builder builderForValue)Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ClientConfig.GenericXdsConfig.BuildersetIsStaticResource(boolean value)Is static resource is true if it is specified in the config supplied through the file at the startup.ClientConfig.GenericXdsConfig.BuildersetLastUpdated(com.google.protobuf.Timestamp value)Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.BuildersetLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.BuildersetName(String value)Name of the xDS resourceClientConfig.GenericXdsConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the xDS resourceClientConfig.GenericXdsConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ClientConfig.GenericXdsConfig.BuildersetTypeUrl(String value)Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.ClientConfig.GenericXdsConfig.BuildersetTypeUrlBytes(com.google.protobuf.ByteString value)Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.ClientConfig.GenericXdsConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ClientConfig.GenericXdsConfig.BuildersetVersionInfo(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.ClientConfig.GenericXdsConfig.BuildersetVersionInfoBytes(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.ClientConfig.GenericXdsConfig.BuildersetXdsConfig(com.google.protobuf.Any value)The xDS resource config.ClientConfig.GenericXdsConfig.BuildersetXdsConfig(com.google.protobuf.Any.Builder builderForValue)The xDS resource config.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
clear
public ClientConfig.GenericXdsConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
getDefaultInstanceForType
public ClientConfig.GenericXdsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClientConfig.GenericXdsConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClientConfig.GenericXdsConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClientConfig.GenericXdsConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
setField
public ClientConfig.GenericXdsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
clearField
public ClientConfig.GenericXdsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
clearOneof
public ClientConfig.GenericXdsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
setRepeatedField
public ClientConfig.GenericXdsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
addRepeatedField
public ClientConfig.GenericXdsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
mergeFrom
public ClientConfig.GenericXdsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
mergeFrom
public ClientConfig.GenericXdsConfig.Builder mergeFrom(ClientConfig.GenericXdsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public ClientConfig.GenericXdsConfig.Builder setTypeUrl(String value)
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
public ClientConfig.GenericXdsConfig.Builder 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
public ClientConfig.GenericXdsConfig.Builder 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.
string type_url = 1;- Parameters:
value- The bytes for typeUrl to set.- Returns:
- This builder for chaining.
-
getName
public String 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
public ClientConfig.GenericXdsConfig.Builder setName(String value)
Name of the xDS resource
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ClientConfig.GenericXdsConfig.Builder clearName()
Name of the xDS resource
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public ClientConfig.GenericXdsConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the xDS resource
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersionInfo
public String 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
public ClientConfig.GenericXdsConfig.Builder 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. 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
public ClientConfig.GenericXdsConfig.Builder 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
public ClientConfig.GenericXdsConfig.Builder setXdsConfig(com.google.protobuf.Any value)
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
public ClientConfig.GenericXdsConfig.Builder mergeXdsConfig(com.google.protobuf.Any value)
The xDS resource config. Actual content depends on the type
.google.protobuf.Any xds_config = 4;
-
clearXdsConfig
public ClientConfig.GenericXdsConfig.Builder 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
-
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
public ClientConfig.GenericXdsConfig.Builder setLastUpdated(com.google.protobuf.Timestamp value)
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
public ClientConfig.GenericXdsConfig.Builder mergeLastUpdated(com.google.protobuf.Timestamp value)
Timestamp when the xDS resource was last updated
.google.protobuf.Timestamp last_updated = 5;
-
clearLastUpdated
public ClientConfig.GenericXdsConfig.Builder 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
-
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
public ClientConfig.GenericXdsConfig.Builder setConfigStatusValue(int value)
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.
-
getConfigStatus
public ConfigStatus 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
public ClientConfig.GenericXdsConfig.Builder setConfigStatus(ConfigStatus value)
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
public ClientConfig.GenericXdsConfig.Builder 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
public ClientConfig.GenericXdsConfig.Builder setClientStatusValue(int value)
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.
-
getClientStatus
public ClientResourceStatus 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
public ClientConfig.GenericXdsConfig.Builder setClientStatus(ClientResourceStatus value)
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
public ClientConfig.GenericXdsConfig.Builder 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
public UpdateFailureState 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
public ClientConfig.GenericXdsConfig.Builder setErrorState(UpdateFailureState value)
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
public ClientConfig.GenericXdsConfig.Builder mergeErrorState(UpdateFailureState value)
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
public ClientConfig.GenericXdsConfig.Builder 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
public UpdateFailureState.Builder 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
public UpdateFailureStateOrBuilder 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
-
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
public ClientConfig.GenericXdsConfig.Builder setIsStaticResource(boolean value)
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
public ClientConfig.GenericXdsConfig.Builder 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.
-
setUnknownFields
public final ClientConfig.GenericXdsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
mergeUnknownFields
public final ClientConfig.GenericXdsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConfig.GenericXdsConfig.Builder>
-
-