Class Generated.ComponentCondition.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ComponentCondition.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.GeneratedMessageV3.Builder<Generated.ComponentCondition.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.ComponentCondition buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ComponentCondition.Builder>
      • mergeFrom

        public Generated.ComponentCondition.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws 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<Generated.ComponentCondition.Builder>
        Throws:
        IOException
      • hasType

        public boolean hasType()
         Type of condition for a component.
         Valid value: "Healthy"
         
        optional string type = 1;
        Specified by:
        hasType in interface Generated.ComponentConditionOrBuilder
        Returns:
        Whether the type field is set.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         Type of condition for a component.
         Valid value: "Healthy"
         
        optional string type = 1;
        Specified by:
        getTypeBytes in interface Generated.ComponentConditionOrBuilder
        Returns:
        The bytes for type.
      • setType

        public Generated.ComponentCondition.Builder setType​(String value)
         Type of condition for a component.
         Valid value: "Healthy"
         
        optional string type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Generated.ComponentCondition.Builder clearType()
         Type of condition for a component.
         Valid value: "Healthy"
         
        optional string type = 1;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public Generated.ComponentCondition.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         Type of condition for a component.
         Valid value: "Healthy"
         
        optional string type = 1;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasStatus

        public boolean hasStatus()
         Status of the condition for a component.
         Valid values for "Healthy": "True", "False", or "Unknown".
         
        optional string status = 2;
        Specified by:
        hasStatus in interface Generated.ComponentConditionOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public String getStatus()
         Status of the condition for a component.
         Valid values for "Healthy": "True", "False", or "Unknown".
         
        optional string status = 2;
        Specified by:
        getStatus in interface Generated.ComponentConditionOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         Status of the condition for a component.
         Valid values for "Healthy": "True", "False", or "Unknown".
         
        optional string status = 2;
        Specified by:
        getStatusBytes in interface Generated.ComponentConditionOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public Generated.ComponentCondition.Builder setStatus​(String value)
         Status of the condition for a component.
         Valid values for "Healthy": "True", "False", or "Unknown".
         
        optional string status = 2;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Generated.ComponentCondition.Builder clearStatus()
         Status of the condition for a component.
         Valid values for "Healthy": "True", "False", or "Unknown".
         
        optional string status = 2;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public Generated.ComponentCondition.Builder setStatusBytes​(com.google.protobuf.ByteString value)
         Status of the condition for a component.
         Valid values for "Healthy": "True", "False", or "Unknown".
         
        optional string status = 2;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • hasMessage

        public boolean hasMessage()
         Message about the condition for a component.
         For example, information about a health check.
         +optional
         
        optional string message = 3;
        Specified by:
        hasMessage in interface Generated.ComponentConditionOrBuilder
        Returns:
        Whether the message field is set.
      • getMessage

        public String getMessage()
         Message about the condition for a component.
         For example, information about a health check.
         +optional
         
        optional string message = 3;
        Specified by:
        getMessage in interface Generated.ComponentConditionOrBuilder
        Returns:
        The message.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         Message about the condition for a component.
         For example, information about a health check.
         +optional
         
        optional string message = 3;
        Specified by:
        getMessageBytes in interface Generated.ComponentConditionOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public Generated.ComponentCondition.Builder setMessage​(String value)
         Message about the condition for a component.
         For example, information about a health check.
         +optional
         
        optional string message = 3;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public Generated.ComponentCondition.Builder clearMessage()
         Message about the condition for a component.
         For example, information about a health check.
         +optional
         
        optional string message = 3;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public Generated.ComponentCondition.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         Message about the condition for a component.
         For example, information about a health check.
         +optional
         
        optional string message = 3;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.
      • hasError

        public boolean hasError()
         Condition error code for a component.
         For example, a health check error code.
         +optional
         
        optional string error = 4;
        Specified by:
        hasError in interface Generated.ComponentConditionOrBuilder
        Returns:
        Whether the error field is set.
      • getErrorBytes

        public com.google.protobuf.ByteString getErrorBytes()
         Condition error code for a component.
         For example, a health check error code.
         +optional
         
        optional string error = 4;
        Specified by:
        getErrorBytes in interface Generated.ComponentConditionOrBuilder
        Returns:
        The bytes for error.
      • setError

        public Generated.ComponentCondition.Builder setError​(String value)
         Condition error code for a component.
         For example, a health check error code.
         +optional
         
        optional string error = 4;
        Parameters:
        value - The error to set.
        Returns:
        This builder for chaining.
      • clearError

        public Generated.ComponentCondition.Builder clearError()
         Condition error code for a component.
         For example, a health check error code.
         +optional
         
        optional string error = 4;
        Returns:
        This builder for chaining.
      • setErrorBytes

        public Generated.ComponentCondition.Builder setErrorBytes​(com.google.protobuf.ByteString value)
         Condition error code for a component.
         For example, a health check error code.
         +optional
         
        optional string error = 4;
        Parameters:
        value - The bytes for error to set.
        Returns:
        This builder for chaining.