Package io.envoyproxy.envoy.admin.v3
Class EndpointsConfigDump.DynamicEndpointConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EndpointsConfigDump.DynamicEndpointConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.DynamicEndpointConfig.Builder>
io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EndpointsConfigDump.DynamicEndpointConfigOrBuilder,Cloneable
- Enclosing class:
EndpointsConfigDump.DynamicEndpointConfig
public static final class EndpointsConfigDump.DynamicEndpointConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.DynamicEndpointConfig.Builder>
implements EndpointsConfigDump.DynamicEndpointConfigOrBuilder
[#next-free-field: 6]Protobuf type
envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate com.google.protobuf.Anyprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> private UpdateFailureStateprivate com.google.protobuf.SingleFieldBuilder<UpdateFailureState, UpdateFailureState.Builder, UpdateFailureStateOrBuilder> private com.google.protobuf.Timestampprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> private Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidclear()The client status of this resource.The endpoint config.Set if the last update failed, cleared after the next successful update.[#not-implemented-hide:] The timestamp when the Endpoint was last updated.[#not-implemented-hide:] This is the per-resource version information.The client status of this resource.intThe client status of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.AnyThe endpoint config.com.google.protobuf.Any.BuilderThe endpoint config.com.google.protobuf.AnyOrBuilderThe endpoint config.Set 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.com.google.protobuf.Timestamp[#not-implemented-hide:] The timestamp when the Endpoint was last updated.com.google.protobuf.Timestamp.Builder[#not-implemented-hide:] The timestamp when the Endpoint was last updated.com.google.protobuf.TimestampOrBuilder[#not-implemented-hide:] The timestamp when the Endpoint was last updated.[#not-implemented-hide:] This is the per-resource version information.com.google.protobuf.ByteString[#not-implemented-hide:] This is the per-resource version information.booleanThe endpoint config.booleanSet if the last update failed, cleared after the next successful update.boolean[#not-implemented-hide:] The timestamp when the Endpoint was last updated.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> The endpoint 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> [#not-implemented-hide:] The timestamp when the Endpoint was last updated.final booleanprivate voidmergeEndpointConfig(com.google.protobuf.Any value) The endpoint config.Set 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) [#not-implemented-hide:] The timestamp when the Endpoint was last updated.The client status of this resource.setClientStatusValue(int value) The client status of this resource.setEndpointConfig(com.google.protobuf.Any value) The endpoint config.setEndpointConfig(com.google.protobuf.Any.Builder builderForValue) The endpoint config.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.setLastUpdated(com.google.protobuf.Timestamp value) [#not-implemented-hide:] The timestamp when the Endpoint was last updated.setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) [#not-implemented-hide:] The timestamp when the Endpoint was last updated.setVersionInfo(String value) [#not-implemented-hide:] This is the per-resource version information.setVersionInfoBytes(com.google.protobuf.ByteString value) [#not-implemented-hide:] This is the per-resource version information.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 java.lang.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_ -
versionInfo_
-
endpointConfig_
private com.google.protobuf.Any endpointConfig_ -
endpointConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, endpointConfigBuilder_com.google.protobuf.AnyOrBuilder> -
lastUpdated_
private com.google.protobuf.Timestamp lastUpdated_ -
lastUpdatedBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder, lastUpdatedBuilder_com.google.protobuf.TimestampOrBuilder> -
errorState_
-
errorStateBuilder_
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder, errorStateBuilder_UpdateFailureStateOrBuilder> -
clientStatus_
private int clientStatus_
-
-
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<EndpointsConfigDump.DynamicEndpointConfig.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<EndpointsConfigDump.DynamicEndpointConfig.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<EndpointsConfigDump.DynamicEndpointConfig.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
public EndpointsConfigDump.DynamicEndpointConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointsConfigDump.DynamicEndpointConfig.Builder>
-
mergeFrom
public EndpointsConfigDump.DynamicEndpointConfig.Builder mergeFrom(EndpointsConfigDump.DynamicEndpointConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.DynamicEndpointConfig.Builder>
-
mergeFrom
public EndpointsConfigDump.DynamicEndpointConfig.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<EndpointsConfigDump.DynamicEndpointConfig.Builder>- Throws:
IOException
-
getVersionInfo
[#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the endpoint configuration was loaded.
string version_info = 1;- Specified by:
getVersionInfoin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()[#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the endpoint configuration was loaded.
string version_info = 1;- Specified by:
getVersionInfoBytesin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- The bytes for versionInfo.
-
setVersionInfo
[#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the endpoint configuration was loaded.
string version_info = 1;- Parameters:
value- The versionInfo to set.- Returns:
- This builder for chaining.
-
clearVersionInfo
[#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the endpoint configuration was loaded.
string version_info = 1;- Returns:
- This builder for chaining.
-
setVersionInfoBytes
public EndpointsConfigDump.DynamicEndpointConfig.Builder setVersionInfoBytes(com.google.protobuf.ByteString value) [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that the endpoint configuration was loaded.
string version_info = 1;- Parameters:
value- The bytes for versionInfo to set.- Returns:
- This builder for chaining.
-
hasEndpointConfig
public boolean hasEndpointConfig()The endpoint config.
.google.protobuf.Any endpoint_config = 2;- Specified by:
hasEndpointConfigin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- Whether the endpointConfig field is set.
-
getEndpointConfig
public com.google.protobuf.Any getEndpointConfig()The endpoint config.
.google.protobuf.Any endpoint_config = 2;- Specified by:
getEndpointConfigin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- The endpointConfig.
-
setEndpointConfig
public EndpointsConfigDump.DynamicEndpointConfig.Builder setEndpointConfig(com.google.protobuf.Any value) The endpoint config.
.google.protobuf.Any endpoint_config = 2; -
setEndpointConfig
public EndpointsConfigDump.DynamicEndpointConfig.Builder setEndpointConfig(com.google.protobuf.Any.Builder builderForValue) The endpoint config.
.google.protobuf.Any endpoint_config = 2; -
mergeEndpointConfig
public EndpointsConfigDump.DynamicEndpointConfig.Builder mergeEndpointConfig(com.google.protobuf.Any value) The endpoint config.
.google.protobuf.Any endpoint_config = 2; -
clearEndpointConfig
The endpoint config.
.google.protobuf.Any endpoint_config = 2; -
getEndpointConfigBuilder
public com.google.protobuf.Any.Builder getEndpointConfigBuilder()The endpoint config.
.google.protobuf.Any endpoint_config = 2; -
getEndpointConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder()The endpoint config.
.google.protobuf.Any endpoint_config = 2;- Specified by:
getEndpointConfigOrBuilderin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder
-
internalGetEndpointConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, internalGetEndpointConfigFieldBuilder()com.google.protobuf.AnyOrBuilder> The endpoint config.
.google.protobuf.Any endpoint_config = 2; -
hasLastUpdated
public boolean hasLastUpdated()[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3;- Specified by:
hasLastUpdatedin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3;- Specified by:
getLastUpdatedin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
public EndpointsConfigDump.DynamicEndpointConfig.Builder setLastUpdated(com.google.protobuf.Timestamp value) [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3; -
setLastUpdated
public EndpointsConfigDump.DynamicEndpointConfig.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3; -
mergeLastUpdated
public EndpointsConfigDump.DynamicEndpointConfig.Builder mergeLastUpdated(com.google.protobuf.Timestamp value) [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3; -
clearLastUpdated
[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3; -
getLastUpdatedBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3; -
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()[#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3;- Specified by:
getLastUpdatedOrBuilderin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder
-
internalGetLastUpdatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder, internalGetLastUpdatedFieldBuilder()com.google.protobuf.TimestampOrBuilder> [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
.google.protobuf.Timestamp last_updated = 3; -
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 = 4;- Specified by:
hasErrorStatein interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- 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 = 4;- Specified by:
getErrorStatein interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- 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 = 4; -
setErrorState
public EndpointsConfigDump.DynamicEndpointConfig.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 = 4; -
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 = 4; -
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 = 4; -
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 = 4; -
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 = 4;- Specified by:
getErrorStateOrBuilderin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder
-
internalGetErrorStateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<UpdateFailureState,UpdateFailureState.Builder, internalGetErrorStateFieldBuilder()UpdateFailureStateOrBuilder> 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 = 4; -
getClientStatusValue
public int getClientStatusValue()The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;- Specified by:
getClientStatusValuein interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- The enum numeric value on the wire for clientStatus.
-
setClientStatusValue
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;- 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
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;- Specified by:
getClientStatusin interfaceEndpointsConfigDump.DynamicEndpointConfigOrBuilder- Returns:
- The clientStatus.
-
setClientStatus
public EndpointsConfigDump.DynamicEndpointConfig.Builder setClientStatus(ClientResourceStatus value) The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;- Parameters:
value- The clientStatus to set.- Returns:
- This builder for chaining.
-
clearClientStatus
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;- Returns:
- This builder for chaining.
-