Package io.envoyproxy.envoy.admin.v3
Class UpdateFailureState.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
-
- io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UpdateFailureStateOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UpdateFailureState
public static final class UpdateFailureState.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder> implements UpdateFailureStateOrBuilder
Protobuf typeenvoy.admin.v3.UpdateFailureState
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.lang.Object
details_
private com.google.protobuf.Any
failedConfiguration_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>
failedConfigurationBuilder_
private com.google.protobuf.Timestamp
lastUpdateAttempt_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
lastUpdateAttemptBuilder_
private java.lang.Object
versionInfo_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFailureState
build()
UpdateFailureState
buildPartial()
private void
buildPartial0(UpdateFailureState result)
UpdateFailureState.Builder
clear()
UpdateFailureState.Builder
clearDetails()
Details about the last failed update attempt.UpdateFailureState.Builder
clearFailedConfiguration()
What the component configuration would have been if the update had succeeded.UpdateFailureState.Builder
clearLastUpdateAttempt()
Time of the latest failed update attempt.UpdateFailureState.Builder
clearVersionInfo()
This is the version of the rejected resource.UpdateFailureState
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDetails()
Details about the last failed update attempt.com.google.protobuf.ByteString
getDetailsBytes()
Details about the last failed update attempt.com.google.protobuf.Any
getFailedConfiguration()
What the component configuration would have been if the update had succeeded.com.google.protobuf.Any.Builder
getFailedConfigurationBuilder()
What the component configuration would have been if the update had succeeded.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>
getFailedConfigurationFieldBuilder()
What the component configuration would have been if the update had succeeded.com.google.protobuf.AnyOrBuilder
getFailedConfigurationOrBuilder()
What the component configuration would have been if the update had succeeded.com.google.protobuf.Timestamp
getLastUpdateAttempt()
Time of the latest failed update attempt.com.google.protobuf.Timestamp.Builder
getLastUpdateAttemptBuilder()
Time of the latest failed update attempt.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getLastUpdateAttemptFieldBuilder()
Time of the latest failed update attempt.com.google.protobuf.TimestampOrBuilder
getLastUpdateAttemptOrBuilder()
Time of the latest failed update attempt.java.lang.String
getVersionInfo()
This is the version of the rejected resource.com.google.protobuf.ByteString
getVersionInfoBytes()
This is the version of the rejected resource.boolean
hasFailedConfiguration()
What the component configuration would have been if the update had succeeded.boolean
hasLastUpdateAttempt()
Time of the latest failed update attempt.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
UpdateFailureState.Builder
mergeFailedConfiguration(com.google.protobuf.Any value)
What the component configuration would have been if the update had succeeded.UpdateFailureState.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpdateFailureState.Builder
mergeFrom(com.google.protobuf.Message other)
UpdateFailureState.Builder
mergeFrom(UpdateFailureState other)
UpdateFailureState.Builder
mergeLastUpdateAttempt(com.google.protobuf.Timestamp value)
Time of the latest failed update attempt.UpdateFailureState.Builder
setDetails(java.lang.String value)
Details about the last failed update attempt.UpdateFailureState.Builder
setDetailsBytes(com.google.protobuf.ByteString value)
Details about the last failed update attempt.UpdateFailureState.Builder
setFailedConfiguration(com.google.protobuf.Any value)
What the component configuration would have been if the update had succeeded.UpdateFailureState.Builder
setFailedConfiguration(com.google.protobuf.Any.Builder builderForValue)
What the component configuration would have been if the update had succeeded.UpdateFailureState.Builder
setLastUpdateAttempt(com.google.protobuf.Timestamp value)
Time of the latest failed update attempt.UpdateFailureState.Builder
setLastUpdateAttempt(com.google.protobuf.Timestamp.Builder builderForValue)
Time of the latest failed update attempt.UpdateFailureState.Builder
setVersionInfo(java.lang.String value)
This is the version of the rejected resource.UpdateFailureState.Builder
setVersionInfoBytes(com.google.protobuf.ByteString value)
This is the version of the rejected resource.-
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_
-
failedConfiguration_
private com.google.protobuf.Any failedConfiguration_
-
failedConfigurationBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> failedConfigurationBuilder_
-
lastUpdateAttempt_
private com.google.protobuf.Timestamp lastUpdateAttempt_
-
lastUpdateAttemptBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> lastUpdateAttemptBuilder_
-
details_
private java.lang.Object details_
-
versionInfo_
private java.lang.Object versionInfo_
-
-
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<UpdateFailureState.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public UpdateFailureState.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<UpdateFailureState.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<UpdateFailureState.Builder>
-
getDefaultInstanceForType
public UpdateFailureState getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateFailureState build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateFailureState buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(UpdateFailureState result)
-
mergeFrom
public UpdateFailureState.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateFailureState.Builder>
-
mergeFrom
public UpdateFailureState.Builder mergeFrom(UpdateFailureState other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
-
mergeFrom
public UpdateFailureState.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<UpdateFailureState.Builder>
- Throws:
java.io.IOException
-
hasFailedConfiguration
public boolean hasFailedConfiguration()
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
- Specified by:
hasFailedConfiguration
in interfaceUpdateFailureStateOrBuilder
- Returns:
- Whether the failedConfiguration field is set.
-
getFailedConfiguration
public com.google.protobuf.Any getFailedConfiguration()
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
- Specified by:
getFailedConfiguration
in interfaceUpdateFailureStateOrBuilder
- Returns:
- The failedConfiguration.
-
setFailedConfiguration
public UpdateFailureState.Builder setFailedConfiguration(com.google.protobuf.Any value)
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
-
setFailedConfiguration
public UpdateFailureState.Builder setFailedConfiguration(com.google.protobuf.Any.Builder builderForValue)
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
-
mergeFailedConfiguration
public UpdateFailureState.Builder mergeFailedConfiguration(com.google.protobuf.Any value)
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
-
clearFailedConfiguration
public UpdateFailureState.Builder clearFailedConfiguration()
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
-
getFailedConfigurationBuilder
public com.google.protobuf.Any.Builder getFailedConfigurationBuilder()
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
-
getFailedConfigurationOrBuilder
public com.google.protobuf.AnyOrBuilder getFailedConfigurationOrBuilder()
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
- Specified by:
getFailedConfigurationOrBuilder
in interfaceUpdateFailureStateOrBuilder
-
getFailedConfigurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getFailedConfigurationFieldBuilder()
What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.
.google.protobuf.Any failed_configuration = 1;
-
hasLastUpdateAttempt
public boolean hasLastUpdateAttempt()
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
- Specified by:
hasLastUpdateAttempt
in interfaceUpdateFailureStateOrBuilder
- Returns:
- Whether the lastUpdateAttempt field is set.
-
getLastUpdateAttempt
public com.google.protobuf.Timestamp getLastUpdateAttempt()
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
- Specified by:
getLastUpdateAttempt
in interfaceUpdateFailureStateOrBuilder
- Returns:
- The lastUpdateAttempt.
-
setLastUpdateAttempt
public UpdateFailureState.Builder setLastUpdateAttempt(com.google.protobuf.Timestamp value)
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
-
setLastUpdateAttempt
public UpdateFailureState.Builder setLastUpdateAttempt(com.google.protobuf.Timestamp.Builder builderForValue)
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
-
mergeLastUpdateAttempt
public UpdateFailureState.Builder mergeLastUpdateAttempt(com.google.protobuf.Timestamp value)
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
-
clearLastUpdateAttempt
public UpdateFailureState.Builder clearLastUpdateAttempt()
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
-
getLastUpdateAttemptBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdateAttemptBuilder()
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
-
getLastUpdateAttemptOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdateAttemptOrBuilder()
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
- Specified by:
getLastUpdateAttemptOrBuilder
in interfaceUpdateFailureStateOrBuilder
-
getLastUpdateAttemptFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLastUpdateAttemptFieldBuilder()
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2;
-
getDetails
public java.lang.String getDetails()
Details about the last failed update attempt.
string details = 3;
- Specified by:
getDetails
in interfaceUpdateFailureStateOrBuilder
- Returns:
- The details.
-
getDetailsBytes
public com.google.protobuf.ByteString getDetailsBytes()
Details about the last failed update attempt.
string details = 3;
- Specified by:
getDetailsBytes
in interfaceUpdateFailureStateOrBuilder
- Returns:
- The bytes for details.
-
setDetails
public UpdateFailureState.Builder setDetails(java.lang.String value)
Details about the last failed update attempt.
string details = 3;
- Parameters:
value
- The details to set.- Returns:
- This builder for chaining.
-
clearDetails
public UpdateFailureState.Builder clearDetails()
Details about the last failed update attempt.
string details = 3;
- Returns:
- This builder for chaining.
-
setDetailsBytes
public UpdateFailureState.Builder setDetailsBytes(com.google.protobuf.ByteString value)
Details about the last failed update attempt.
string details = 3;
- Parameters:
value
- The bytes for details to set.- Returns:
- This builder for chaining.
-
getVersionInfo
public java.lang.String getVersionInfo()
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;
- Specified by:
getVersionInfo
in interfaceUpdateFailureStateOrBuilder
- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;
- Specified by:
getVersionInfoBytes
in interfaceUpdateFailureStateOrBuilder
- Returns:
- The bytes for versionInfo.
-
setVersionInfo
public UpdateFailureState.Builder setVersionInfo(java.lang.String value)
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;
- Parameters:
value
- The versionInfo to set.- Returns:
- This builder for chaining.
-
clearVersionInfo
public UpdateFailureState.Builder clearVersionInfo()
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;
- Returns:
- This builder for chaining.
-
setVersionInfoBytes
public UpdateFailureState.Builder setVersionInfoBytes(com.google.protobuf.ByteString value)
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;
- Parameters:
value
- The bytes for versionInfo to set.- Returns:
- This builder for chaining.
-
-