Class ClientConfig.GenericXdsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.service.status.v3.ClientConfig.GenericXdsConfig
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private int
clientStatus_
private int
configStatus_
private UpdateFailureState
errorState_
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder,UpdateFailureStateOrBuilder>
errorStateBuilder_
private boolean
isStaticResource_
private com.google.protobuf.Timestamp
lastUpdated_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
lastUpdatedBuilder_
private java.lang.Object
name_
private java.lang.Object
typeUrl_
private java.lang.Object
versionInfo_
private com.google.protobuf.Any
xdsConfig_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>
xdsConfigBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientConfig.GenericXdsConfig
build()
ClientConfig.GenericXdsConfig
buildPartial()
private void
buildPartial0(ClientConfig.GenericXdsConfig result)
ClientConfig.GenericXdsConfig.Builder
clear()
ClientConfig.GenericXdsConfig.Builder
clearClientStatus()
Per xDS resource status from the view of a xDS clientClientConfig.GenericXdsConfig.Builder
clearConfigStatus()
Per xDS resource config status.ClientConfig.GenericXdsConfig.Builder
clearErrorState()
Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.Builder
clearIsStaticResource()
Is static resource is true if it is specified in the config supplied through the file at the startup.ClientConfig.GenericXdsConfig.Builder
clearLastUpdated()
Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.Builder
clearName()
Name of the xDS resourceClientConfig.GenericXdsConfig.Builder
clearTypeUrl()
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.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.ClientConfig.GenericXdsConfig.Builder
clearXdsConfig()
The xDS resource config.ClientResourceStatus
getClientStatus()
Per xDS resource status from the view of a xDS clientint
getClientStatusValue()
Per xDS resource status from the view of a xDS clientConfigStatus
getConfigStatus()
Per xDS resource config status.int
getConfigStatusValue()
Per xDS resource config status.ClientConfig.GenericXdsConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
UpdateFailureState
getErrorState()
Set if the last update failed, cleared after the next successful update.UpdateFailureState.Builder
getErrorStateBuilder()
Set if the last update failed, cleared after the next successful update.private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder,UpdateFailureStateOrBuilder>
getErrorStateFieldBuilder()
Set if the last update failed, cleared after the next successful update.UpdateFailureStateOrBuilder
getErrorStateOrBuilder()
Set if the last update failed, cleared after the next successful update.boolean
getIsStaticResource()
Is static resource is true if it is specified in the config supplied through the file at the startup.com.google.protobuf.Timestamp
getLastUpdated()
Timestamp when the xDS resource was last updatedcom.google.protobuf.Timestamp.Builder
getLastUpdatedBuilder()
Timestamp when the xDS resource was last updatedprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getLastUpdatedFieldBuilder()
Timestamp when the xDS resource was last updatedcom.google.protobuf.TimestampOrBuilder
getLastUpdatedOrBuilder()
Timestamp when the xDS resource was last updatedjava.lang.String
getName()
Name of the xDS resourcecom.google.protobuf.ByteString
getNameBytes()
Name of the xDS resourcejava.lang.String
getTypeUrl()
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.com.google.protobuf.ByteString
getTypeUrlBytes()
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.java.lang.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.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.com.google.protobuf.Any
getXdsConfig()
The xDS resource config.com.google.protobuf.Any.Builder
getXdsConfigBuilder()
The xDS resource config.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>
getXdsConfigFieldBuilder()
The xDS resource config.com.google.protobuf.AnyOrBuilder
getXdsConfigOrBuilder()
The xDS resource config.boolean
hasErrorState()
Set if the last update failed, cleared after the next successful update.boolean
hasLastUpdated()
Timestamp when the xDS resource was last updatedboolean
hasXdsConfig()
The xDS resource config.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
ClientConfig.GenericXdsConfig.Builder
mergeErrorState(UpdateFailureState value)
Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ClientConfig.GenericXdsConfig.Builder
mergeFrom(com.google.protobuf.Message other)
ClientConfig.GenericXdsConfig.Builder
mergeFrom(ClientConfig.GenericXdsConfig other)
ClientConfig.GenericXdsConfig.Builder
mergeLastUpdated(com.google.protobuf.Timestamp value)
Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.Builder
mergeXdsConfig(com.google.protobuf.Any value)
The xDS resource config.ClientConfig.GenericXdsConfig.Builder
setClientStatus(ClientResourceStatus value)
Per xDS resource status from the view of a xDS clientClientConfig.GenericXdsConfig.Builder
setClientStatusValue(int value)
Per xDS resource status from the view of a xDS clientClientConfig.GenericXdsConfig.Builder
setConfigStatus(ConfigStatus value)
Per xDS resource config status.ClientConfig.GenericXdsConfig.Builder
setConfigStatusValue(int value)
Per xDS resource config status.ClientConfig.GenericXdsConfig.Builder
setErrorState(UpdateFailureState value)
Set if the last update failed, cleared after the next successful update.ClientConfig.GenericXdsConfig.Builder
setErrorState(UpdateFailureState.Builder builderForValue)
Set if the last update failed, cleared after the next successful update.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.ClientConfig.GenericXdsConfig.Builder
setLastUpdated(com.google.protobuf.Timestamp value)
Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.Builder
setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp when the xDS resource was last updatedClientConfig.GenericXdsConfig.Builder
setName(java.lang.String value)
Name of the xDS resourceClientConfig.GenericXdsConfig.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the xDS resourceClientConfig.GenericXdsConfig.Builder
setTypeUrl(java.lang.String value)
Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.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.ClientConfig.GenericXdsConfig.Builder
setVersionInfo(java.lang.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.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.ClientConfig.GenericXdsConfig.Builder
setXdsConfig(com.google.protobuf.Any value)
The xDS resource config.ClientConfig.GenericXdsConfig.Builder
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, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
typeUrl_
private java.lang.Object typeUrl_
-
name_
private java.lang.Object name_
-
versionInfo_
private java.lang.Object 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_
private UpdateFailureState errorState_
-
errorStateBuilder_
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder,UpdateFailureStateOrBuilder> errorStateBuilder_
-
isStaticResource_
private boolean isStaticResource_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public ClientConfig.GenericXdsConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
getDefaultInstanceForType
public ClientConfig.GenericXdsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClientConfig.GenericXdsConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClientConfig.GenericXdsConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(ClientConfig.GenericXdsConfig result)
-
mergeFrom
public ClientConfig.GenericXdsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
-
mergeFrom
public ClientConfig.GenericXdsConfig.Builder mergeFrom(ClientConfig.GenericXdsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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 java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClientConfig.GenericXdsConfig.Builder>
- Throws:
java.io.IOException
-
getTypeUrl
public java.lang.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:
getTypeUrl
in 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:
getTypeUrlBytes
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The bytes for typeUrl.
-
setTypeUrl
public ClientConfig.GenericXdsConfig.Builder setTypeUrl(java.lang.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 java.lang.String getName()
Name of the xDS resource
string name = 2;
- Specified by:
getName
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the xDS resource
string name = 2;
- Specified by:
getNameBytes
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
public ClientConfig.GenericXdsConfig.Builder setName(java.lang.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 java.lang.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:
getVersionInfo
in 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:
getVersionInfoBytes
in interfaceClientConfig.GenericXdsConfigOrBuilder
- Returns:
- The bytes for versionInfo.
-
setVersionInfo
public ClientConfig.GenericXdsConfig.Builder setVersionInfo(java.lang.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:
hasXdsConfig
in 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:
getXdsConfig
in 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:
getXdsConfigOrBuilder
in interfaceClientConfig.GenericXdsConfigOrBuilder
-
getXdsConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getXdsConfigFieldBuilder()
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:
hasLastUpdated
in 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:
getLastUpdated
in 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:
getLastUpdatedOrBuilder
in interfaceClientConfig.GenericXdsConfigOrBuilder
-
getLastUpdatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder()
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:
getConfigStatusValue
in 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:
getConfigStatus
in 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:
getClientStatusValue
in 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:
getClientStatus
in 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:
hasErrorState
in 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:
getErrorState
in 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:
getErrorStateOrBuilder
in interfaceClientConfig.GenericXdsConfigOrBuilder
-
getErrorStateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder,UpdateFailureStateOrBuilder> getErrorStateFieldBuilder()
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:
getIsStaticResource
in 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.
-
-