Class Generated.StatusDetails.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Generated.StatusDetailsOrBuilder
    Enclosing class:
    Generated.StatusDetails

    public static final class Generated.StatusDetails.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.StatusDetails.Builder>
    implements Generated.StatusDetailsOrBuilder
     StatusDetails is a set of additional properties that MAY be set by the
     server to provide additional information about a response. The Reason
     field of a Status object defines what attributes will be set. Clients
     must ignore fields that do not match the defined type of each attribute,
     and should assume that any attribute may be empty, invalid, or under
     defined.
     
    Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails
    • 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.StatusDetails.Builder>
      • clear

        public Generated.StatusDetails.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<Generated.StatusDetails.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.StatusDetails.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.StatusDetails.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<Generated.StatusDetails.Builder>
      • clearField

        public Generated.StatusDetails.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<Generated.StatusDetails.Builder>
      • clearOneof

        public Generated.StatusDetails.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<Generated.StatusDetails.Builder>
      • setRepeatedField

        public Generated.StatusDetails.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<Generated.StatusDetails.Builder>
      • addRepeatedField

        public Generated.StatusDetails.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<Generated.StatusDetails.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.StatusDetails.Builder>
      • mergeFrom

        public Generated.StatusDetails.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.StatusDetails.Builder>
        Throws:
        IOException
      • hasName

        public boolean hasName()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Specified by:
        getName in interface Generated.StatusDetailsOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.StatusDetails.Builder setName​(String value)
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.StatusDetails.Builder clearName()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.StatusDetails.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasGroup

        public boolean hasGroup()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Specified by:
        hasGroup in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the group field is set.
      • getGroup

        public String getGroup()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Specified by:
        getGroup in interface Generated.StatusDetailsOrBuilder
        Returns:
        The group.
      • getGroupBytes

        public com.google.protobuf.ByteString getGroupBytes()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Specified by:
        getGroupBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for group.
      • setGroup

        public Generated.StatusDetails.Builder setGroup​(String value)
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Parameters:
        value - The group to set.
        Returns:
        This builder for chaining.
      • clearGroup

        public Generated.StatusDetails.Builder clearGroup()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Returns:
        This builder for chaining.
      • setGroupBytes

        public Generated.StatusDetails.Builder setGroupBytes​(com.google.protobuf.ByteString value)
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Parameters:
        value - The bytes for group to set.
        Returns:
        This builder for chaining.
      • hasKind

        public boolean hasKind()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Specified by:
        hasKind in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Specified by:
        getKind in interface Generated.StatusDetailsOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Specified by:
        getKindBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public Generated.StatusDetails.Builder setKind​(String value)
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public Generated.StatusDetails.Builder clearKind()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Returns:
        This builder for chaining.
      • setKindBytes

        public Generated.StatusDetails.Builder setKindBytes​(com.google.protobuf.ByteString value)
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • hasUid

        public boolean hasUid()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Specified by:
        hasUid in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the uid field is set.
      • getUid

        public String getUid()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Specified by:
        getUid in interface Generated.StatusDetailsOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Specified by:
        getUidBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Generated.StatusDetails.Builder setUid​(String value)
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Generated.StatusDetails.Builder clearUid()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Returns:
        This builder for chaining.
      • setUidBytes

        public Generated.StatusDetails.Builder setUidBytes​(com.google.protobuf.ByteString value)
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • getCausesList

        public List<Generated.StatusCause> getCausesList()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCausesList in interface Generated.StatusDetailsOrBuilder
      • getCausesCount

        public int getCausesCount()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCausesCount in interface Generated.StatusDetailsOrBuilder
      • getCauses

        public Generated.StatusCause getCauses​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCauses in interface Generated.StatusDetailsOrBuilder
      • setCauses

        public Generated.StatusDetails.Builder setCauses​(int index,
                                                         Generated.StatusCause value)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • setCauses

        public Generated.StatusDetails.Builder setCauses​(int index,
                                                         Generated.StatusCause.Builder builderForValue)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • addCauses

        public Generated.StatusDetails.Builder addCauses​(Generated.StatusCause value)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • addCauses

        public Generated.StatusDetails.Builder addCauses​(int index,
                                                         Generated.StatusCause value)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • addCauses

        public Generated.StatusDetails.Builder addCauses​(Generated.StatusCause.Builder builderForValue)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • addCauses

        public Generated.StatusDetails.Builder addCauses​(int index,
                                                         Generated.StatusCause.Builder builderForValue)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • addAllCauses

        public Generated.StatusDetails.Builder addAllCauses​(Iterable<? extends Generated.StatusCause> values)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • clearCauses

        public Generated.StatusDetails.Builder clearCauses()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • removeCauses

        public Generated.StatusDetails.Builder removeCauses​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • getCausesBuilder

        public Generated.StatusCause.Builder getCausesBuilder​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • getCausesOrBuilder

        public Generated.StatusCauseOrBuilder getCausesOrBuilder​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCausesOrBuilder in interface Generated.StatusDetailsOrBuilder
      • addCausesBuilder

        public Generated.StatusCause.Builder addCausesBuilder()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • addCausesBuilder

        public Generated.StatusCause.Builder addCausesBuilder​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • getCausesBuilderList

        public List<Generated.StatusCause.Builder> getCausesBuilderList()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
      • hasRetryAfterSeconds

        public boolean hasRetryAfterSeconds()
         If specified, the time in seconds before the operation should be retried. Some errors may indicate
         the client must take an alternate action - for those errors this field may indicate how long to wait
         before taking the alternate action.
         +optional
         
        optional int32 retryAfterSeconds = 5;
        Specified by:
        hasRetryAfterSeconds in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the retryAfterSeconds field is set.
      • getRetryAfterSeconds

        public int getRetryAfterSeconds()
         If specified, the time in seconds before the operation should be retried. Some errors may indicate
         the client must take an alternate action - for those errors this field may indicate how long to wait
         before taking the alternate action.
         +optional
         
        optional int32 retryAfterSeconds = 5;
        Specified by:
        getRetryAfterSeconds in interface Generated.StatusDetailsOrBuilder
        Returns:
        The retryAfterSeconds.
      • setRetryAfterSeconds

        public Generated.StatusDetails.Builder setRetryAfterSeconds​(int value)
         If specified, the time in seconds before the operation should be retried. Some errors may indicate
         the client must take an alternate action - for those errors this field may indicate how long to wait
         before taking the alternate action.
         +optional
         
        optional int32 retryAfterSeconds = 5;
        Parameters:
        value - The retryAfterSeconds to set.
        Returns:
        This builder for chaining.
      • clearRetryAfterSeconds

        public Generated.StatusDetails.Builder clearRetryAfterSeconds()
         If specified, the time in seconds before the operation should be retried. Some errors may indicate
         the client must take an alternate action - for those errors this field may indicate how long to wait
         before taking the alternate action.
         +optional
         
        optional int32 retryAfterSeconds = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Generated.StatusDetails.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<Generated.StatusDetails.Builder>
      • mergeUnknownFields

        public final Generated.StatusDetails.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<Generated.StatusDetails.Builder>