Class UpdateFailureState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateFailureState.Builder>
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, Cloneable
- Enclosing class:
UpdateFailureState
public static final class UpdateFailureState.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
implements UpdateFailureStateOrBuilder
Protobuf type
envoy.admin.v3.UpdateFailureState-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Objectprivate com.google.protobuf.Anyprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 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 voidbuildPartial0(UpdateFailureState result) clear()Details about the last failed update attempt.What the component configuration would have been if the update had succeeded.Time of the latest failed update attempt.This is the version of the rejected resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDetails about the last failed update attempt.com.google.protobuf.ByteStringDetails about the last failed update attempt.com.google.protobuf.AnyWhat the component configuration would have been if the update had succeeded.com.google.protobuf.Any.BuilderWhat the component configuration would have been if the update had succeeded.com.google.protobuf.AnyOrBuilderWhat the component configuration would have been if the update had succeeded.com.google.protobuf.TimestampTime of the latest failed update attempt.com.google.protobuf.Timestamp.BuilderTime of the latest failed update attempt.com.google.protobuf.TimestampOrBuilderTime of the latest failed update attempt.This is the version of the rejected resource.com.google.protobuf.ByteStringThis is the version of the rejected resource.booleanWhat the component configuration would have been if the update had succeeded.booleanTime of the latest failed update attempt.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> What the component configuration would have been if the update had succeeded.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> Time of the latest failed update attempt.final booleanprivate voidmergeFailedConfiguration(com.google.protobuf.Any value) What the component configuration would have been if the update had succeeded.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpdateFailureState other) mergeLastUpdateAttempt(com.google.protobuf.Timestamp value) Time of the latest failed update attempt.setDetails(String value) Details about the last failed update attempt.setDetailsBytes(com.google.protobuf.ByteString value) Details about the last failed update attempt.setFailedConfiguration(com.google.protobuf.Any value) What the component configuration would have been if the update had succeeded.setFailedConfiguration(com.google.protobuf.Any.Builder builderForValue) What the component configuration would have been if the update had succeeded.setLastUpdateAttempt(com.google.protobuf.Timestamp value) Time of the latest failed update attempt.setLastUpdateAttempt(com.google.protobuf.Timestamp.Builder builderForValue) Time of the latest failed update attempt.setVersionInfo(String value) This is the version of the rejected resource.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, 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 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_ -
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_
-
versionInfo_
-
-
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<UpdateFailureState.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<UpdateFailureState.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<UpdateFailureState.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateFailureState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
-
mergeFrom
public UpdateFailureState.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<UpdateFailureState.Builder>- Throws:
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:
hasFailedConfigurationin 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:
getFailedConfigurationin interfaceUpdateFailureStateOrBuilder- Returns:
- The failedConfiguration.
-
setFailedConfiguration
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
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
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:
getFailedConfigurationOrBuilderin interfaceUpdateFailureStateOrBuilder
-
internalGetFailedConfigurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> internalGetFailedConfigurationFieldBuilder()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:
hasLastUpdateAttemptin 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:
getLastUpdateAttemptin interfaceUpdateFailureStateOrBuilder- Returns:
- The lastUpdateAttempt.
-
setLastUpdateAttempt
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
Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2; -
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:
getLastUpdateAttemptOrBuilderin interfaceUpdateFailureStateOrBuilder
-
internalGetLastUpdateAttemptFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> internalGetLastUpdateAttemptFieldBuilder()Time of the latest failed update attempt.
.google.protobuf.Timestamp last_update_attempt = 2; -
getDetails
Details about the last failed update attempt.
string details = 3;- Specified by:
getDetailsin interfaceUpdateFailureStateOrBuilder- Returns:
- The details.
-
getDetailsBytes
public com.google.protobuf.ByteString getDetailsBytes()Details about the last failed update attempt.
string details = 3;- Specified by:
getDetailsBytesin interfaceUpdateFailureStateOrBuilder- Returns:
- The bytes for details.
-
setDetails
Details about the last failed update attempt.
string details = 3;- Parameters:
value- The details to set.- Returns:
- This builder for chaining.
-
clearDetails
Details about the last failed update attempt.
string details = 3;- Returns:
- This builder for chaining.
-
setDetailsBytes
Details about the last failed update attempt.
string details = 3;- Parameters:
value- The bytes for details to set.- Returns:
- This builder for chaining.
-
getVersionInfo
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;- Specified by:
getVersionInfoin 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:
getVersionInfoBytesin interfaceUpdateFailureStateOrBuilder- Returns:
- The bytes for versionInfo.
-
setVersionInfo
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
This is the version of the rejected resource. [#not-implemented-hide:]
string version_info = 4;- Returns:
- This builder for chaining.
-
setVersionInfoBytes
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.
-