Class Meta.StatusCause.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
io.kubernetes.client.proto.Meta.StatusCause.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.StatusCauseOrBuilder, Cloneable
Enclosing class:
Meta.StatusCause

public static final class Meta.StatusCause.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder> implements Meta.StatusCauseOrBuilder
 StatusCause provides more information about an api.Status failure, including
 cases when multiple errors are encountered.
 
Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause
  • Method Details

    • 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<Meta.StatusCause.Builder>
    • clear

      public Meta.StatusCause.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.GeneratedMessageV3.Builder<Meta.StatusCause.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<Meta.StatusCause.Builder>
    • getDefaultInstanceForType

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

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

      public Meta.StatusCause buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Meta.StatusCause.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • setField

      public Meta.StatusCause.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • clearField

      public Meta.StatusCause.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • clearOneof

      public Meta.StatusCause.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • setRepeatedField

      public Meta.StatusCause.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • addRepeatedField

      public Meta.StatusCause.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • mergeFrom

      public Meta.StatusCause.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<Meta.StatusCause.Builder>
    • mergeFrom

      public Meta.StatusCause.Builder mergeFrom(Meta.StatusCause other)
    • isInitialized

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

      public Meta.StatusCause.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<Meta.StatusCause.Builder>
      Throws:
      IOException
    • hasReason

      public boolean hasReason()
       A machine-readable description of the cause of the error. If this value is
       empty there is no information available.
       +optional
       
      optional string reason = 1;
      Specified by:
      hasReason in interface Meta.StatusCauseOrBuilder
    • getReason

      public String getReason()
       A machine-readable description of the cause of the error. If this value is
       empty there is no information available.
       +optional
       
      optional string reason = 1;
      Specified by:
      getReason in interface Meta.StatusCauseOrBuilder
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       A machine-readable description of the cause of the error. If this value is
       empty there is no information available.
       +optional
       
      optional string reason = 1;
      Specified by:
      getReasonBytes in interface Meta.StatusCauseOrBuilder
    • setReason

      public Meta.StatusCause.Builder setReason(String value)
       A machine-readable description of the cause of the error. If this value is
       empty there is no information available.
       +optional
       
      optional string reason = 1;
    • clearReason

      public Meta.StatusCause.Builder clearReason()
       A machine-readable description of the cause of the error. If this value is
       empty there is no information available.
       +optional
       
      optional string reason = 1;
    • setReasonBytes

      public Meta.StatusCause.Builder setReasonBytes(com.google.protobuf.ByteString value)
       A machine-readable description of the cause of the error. If this value is
       empty there is no information available.
       +optional
       
      optional string reason = 1;
    • hasMessage

      public boolean hasMessage()
       A human-readable description of the cause of the error.  This field may be
       presented as-is to a reader.
       +optional
       
      optional string message = 2;
      Specified by:
      hasMessage in interface Meta.StatusCauseOrBuilder
    • getMessage

      public String getMessage()
       A human-readable description of the cause of the error.  This field may be
       presented as-is to a reader.
       +optional
       
      optional string message = 2;
      Specified by:
      getMessage in interface Meta.StatusCauseOrBuilder
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       A human-readable description of the cause of the error.  This field may be
       presented as-is to a reader.
       +optional
       
      optional string message = 2;
      Specified by:
      getMessageBytes in interface Meta.StatusCauseOrBuilder
    • setMessage

      public Meta.StatusCause.Builder setMessage(String value)
       A human-readable description of the cause of the error.  This field may be
       presented as-is to a reader.
       +optional
       
      optional string message = 2;
    • clearMessage

      public Meta.StatusCause.Builder clearMessage()
       A human-readable description of the cause of the error.  This field may be
       presented as-is to a reader.
       +optional
       
      optional string message = 2;
    • setMessageBytes

      public Meta.StatusCause.Builder setMessageBytes(com.google.protobuf.ByteString value)
       A human-readable description of the cause of the error.  This field may be
       presented as-is to a reader.
       +optional
       
      optional string message = 2;
    • hasField

      public boolean hasField()
       The field of the resource that has caused this error, as named by its JSON
       serialization. May include dot and postfix notation for nested attributes.
       Arrays are zero-indexed.  Fields may appear more than once in an array of
       causes due to fields having multiple errors.
       Optional.
       Examples:
         "name" - the field "name" on the current resource
         "items[0].name" - the field "name" on the first array entry in "items"
       +optional
       
      optional string field = 3;
      Specified by:
      hasField in interface Meta.StatusCauseOrBuilder
    • getField

      public String getField()
       The field of the resource that has caused this error, as named by its JSON
       serialization. May include dot and postfix notation for nested attributes.
       Arrays are zero-indexed.  Fields may appear more than once in an array of
       causes due to fields having multiple errors.
       Optional.
       Examples:
         "name" - the field "name" on the current resource
         "items[0].name" - the field "name" on the first array entry in "items"
       +optional
       
      optional string field = 3;
      Specified by:
      getField in interface Meta.StatusCauseOrBuilder
    • getFieldBytes

      public com.google.protobuf.ByteString getFieldBytes()
       The field of the resource that has caused this error, as named by its JSON
       serialization. May include dot and postfix notation for nested attributes.
       Arrays are zero-indexed.  Fields may appear more than once in an array of
       causes due to fields having multiple errors.
       Optional.
       Examples:
         "name" - the field "name" on the current resource
         "items[0].name" - the field "name" on the first array entry in "items"
       +optional
       
      optional string field = 3;
      Specified by:
      getFieldBytes in interface Meta.StatusCauseOrBuilder
    • setField

      public Meta.StatusCause.Builder setField(String value)
       The field of the resource that has caused this error, as named by its JSON
       serialization. May include dot and postfix notation for nested attributes.
       Arrays are zero-indexed.  Fields may appear more than once in an array of
       causes due to fields having multiple errors.
       Optional.
       Examples:
         "name" - the field "name" on the current resource
         "items[0].name" - the field "name" on the first array entry in "items"
       +optional
       
      optional string field = 3;
    • clearField

      public Meta.StatusCause.Builder clearField()
       The field of the resource that has caused this error, as named by its JSON
       serialization. May include dot and postfix notation for nested attributes.
       Arrays are zero-indexed.  Fields may appear more than once in an array of
       causes due to fields having multiple errors.
       Optional.
       Examples:
         "name" - the field "name" on the current resource
         "items[0].name" - the field "name" on the first array entry in "items"
       +optional
       
      optional string field = 3;
    • setFieldBytes

      public Meta.StatusCause.Builder setFieldBytes(com.google.protobuf.ByteString value)
       The field of the resource that has caused this error, as named by its JSON
       serialization. May include dot and postfix notation for nested attributes.
       Arrays are zero-indexed.  Fields may appear more than once in an array of
       causes due to fields having multiple errors.
       Optional.
       Examples:
         "name" - the field "name" on the current resource
         "items[0].name" - the field "name" on the first array entry in "items"
       +optional
       
      optional string field = 3;
    • setUnknownFields

      public final Meta.StatusCause.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>
    • mergeUnknownFields

      public final Meta.StatusCause.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.StatusCause.Builder>