Class 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 type envoy.admin.v3.UpdateFailureState
    • 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_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public UpdateFailureState.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateFailureState.Builder>
      • getDefaultInstanceForType

        public UpdateFailureState getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateFailureState build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateFailureState buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public UpdateFailureState.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateFailureState.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface UpdateFailureStateOrBuilder
        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 interface UpdateFailureStateOrBuilder
        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 interface UpdateFailureStateOrBuilder
      • 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 interface UpdateFailureStateOrBuilder
        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 interface UpdateFailureStateOrBuilder
        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 interface UpdateFailureStateOrBuilder
      • 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 interface UpdateFailureStateOrBuilder
        Returns:
        The details.
      • getDetailsBytes

        public com.google.protobuf.ByteString getDetailsBytes()
         Details about the last failed update attempt.
         
        string details = 3;
        Specified by:
        getDetailsBytes in interface UpdateFailureStateOrBuilder
        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 interface UpdateFailureStateOrBuilder
        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 interface UpdateFailureStateOrBuilder
        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.