Package io.envoyproxy.envoy.admin.v3
Class RoutesConfigDump.DynamicRouteConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RoutesConfigDump.DynamicRouteConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<RoutesConfigDump.DynamicRouteConfig.Builder>
io.envoyproxy.envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RoutesConfigDump.DynamicRouteConfigOrBuilder
,Cloneable
- Enclosing class:
RoutesConfigDump.DynamicRouteConfig
public static final class RoutesConfigDump.DynamicRouteConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RoutesConfigDump.DynamicRouteConfig.Builder>
implements RoutesConfigDump.DynamicRouteConfigOrBuilder
[#next-free-field: 6]Protobuf type
envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private UpdateFailureState
private com.google.protobuf.SingleFieldBuilder
<UpdateFailureState, UpdateFailureState.Builder, UpdateFailureStateOrBuilder> private com.google.protobuf.Timestamp
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> private com.google.protobuf.Any
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
clear()
The client status of this resource.Set if the last update failed, cleared after the next successful update.The timestamp when the Route was last updated.The route config.This is the per-resource version information.The client status of this resource.int
The client status of this resource.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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
The timestamp when the Route was last updated.com.google.protobuf.Timestamp.Builder
The timestamp when the Route was last updated.com.google.protobuf.TimestampOrBuilder
The timestamp when the Route was last updated.com.google.protobuf.Any
The route config.com.google.protobuf.Any.Builder
The route config.com.google.protobuf.AnyOrBuilder
The route config.This is the per-resource version information.com.google.protobuf.ByteString
This is the per-resource version information.boolean
Set if the last update failed, cleared after the next successful update.boolean
The timestamp when the Route was last updated.boolean
The route 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.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> The timestamp when the Route was last updated.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> The route config.final boolean
private void
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) The timestamp when the Route was last updated.mergeRouteConfig
(com.google.protobuf.Any value) The route config.The client status of this resource.setClientStatusValue
(int value) The client status of this resource.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) The timestamp when the Route was last updated.setLastUpdated
(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the Route was last updated.setRouteConfig
(com.google.protobuf.Any value) The route config.setRouteConfig
(com.google.protobuf.Any.Builder builderForValue) The route config.setVersionInfo
(String value) This is the per-resource version information.setVersionInfoBytes
(com.google.protobuf.ByteString value) 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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
versionInfo_
-
routeConfig_
private com.google.protobuf.Any routeConfig_ -
routeConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, routeConfigBuilder_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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RoutesConfigDump.DynamicRouteConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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<RoutesConfigDump.DynamicRouteConfig.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<RoutesConfigDump.DynamicRouteConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RoutesConfigDump.DynamicRouteConfig.Builder>
-
mergeFrom
public RoutesConfigDump.DynamicRouteConfig.Builder mergeFrom(RoutesConfigDump.DynamicRouteConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RoutesConfigDump.DynamicRouteConfig.Builder>
-
mergeFrom
public RoutesConfigDump.DynamicRouteConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<RoutesConfigDump.DynamicRouteConfig.Builder>
- Throws:
IOException
-
getVersionInfo
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 route configuration was loaded.
string version_info = 1;
- Specified by:
getVersionInfo
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()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 route configuration was loaded.
string version_info = 1;
- Specified by:
getVersionInfoBytes
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- The bytes for versionInfo.
-
setVersionInfo
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 route configuration was loaded.
string version_info = 1;
- Parameters:
value
- The versionInfo to set.- Returns:
- This builder for chaining.
-
clearVersionInfo
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 route configuration was loaded.
string version_info = 1;
- Returns:
- This builder for chaining.
-
setVersionInfoBytes
public RoutesConfigDump.DynamicRouteConfig.Builder setVersionInfoBytes(com.google.protobuf.ByteString value) 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 route configuration was loaded.
string version_info = 1;
- Parameters:
value
- The bytes for versionInfo to set.- Returns:
- This builder for chaining.
-
hasRouteConfig
public boolean hasRouteConfig()The route config.
.google.protobuf.Any route_config = 2;
- Specified by:
hasRouteConfig
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- Whether the routeConfig field is set.
-
getRouteConfig
public com.google.protobuf.Any getRouteConfig()The route config.
.google.protobuf.Any route_config = 2;
- Specified by:
getRouteConfig
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- The routeConfig.
-
setRouteConfig
The route config.
.google.protobuf.Any route_config = 2;
-
setRouteConfig
public RoutesConfigDump.DynamicRouteConfig.Builder setRouteConfig(com.google.protobuf.Any.Builder builderForValue) The route config.
.google.protobuf.Any route_config = 2;
-
mergeRouteConfig
The route config.
.google.protobuf.Any route_config = 2;
-
clearRouteConfig
The route config.
.google.protobuf.Any route_config = 2;
-
getRouteConfigBuilder
public com.google.protobuf.Any.Builder getRouteConfigBuilder()The route config.
.google.protobuf.Any route_config = 2;
-
getRouteConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getRouteConfigOrBuilder()The route config.
.google.protobuf.Any route_config = 2;
- Specified by:
getRouteConfigOrBuilder
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
-
internalGetRouteConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder, internalGetRouteConfigFieldBuilder()com.google.protobuf.AnyOrBuilder> The route config.
.google.protobuf.Any route_config = 2;
-
hasLastUpdated
public boolean hasLastUpdated()The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Specified by:
hasLastUpdated
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Specified by:
getLastUpdated
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- The lastUpdated.
-
setLastUpdated
public RoutesConfigDump.DynamicRouteConfig.Builder setLastUpdated(com.google.protobuf.Timestamp value) The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
setLastUpdated
public RoutesConfigDump.DynamicRouteConfig.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
mergeLastUpdated
public RoutesConfigDump.DynamicRouteConfig.Builder mergeLastUpdated(com.google.protobuf.Timestamp value) The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
clearLastUpdated
The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
getLastUpdatedBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
-
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()The timestamp when the Route was last updated.
.google.protobuf.Timestamp last_updated = 3;
- Specified by:
getLastUpdatedOrBuilder
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
-
internalGetLastUpdatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder, internalGetLastUpdatedFieldBuilder()com.google.protobuf.TimestampOrBuilder> The timestamp when the Route 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:
hasErrorState
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- 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:
getErrorState
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- 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 RoutesConfigDump.DynamicRouteConfig.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:
getErrorStateOrBuilder
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
-
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:
getClientStatusValue
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- 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.
-
getClientStatus
The client status of this resource. [#not-implemented-hide:]
.envoy.admin.v3.ClientResourceStatus client_status = 5;
- Specified by:
getClientStatus
in interfaceRoutesConfigDump.DynamicRouteConfigOrBuilder
- Returns:
- The clientStatus.
-
setClientStatus
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.
-