Class Generated.APIResource.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.APIResource.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public boolean hasName()
         name is the plural name of the resource.
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         name is the plural name of the resource.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.APIResourceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.APIResource.Builder setName​(String value)
         name is the plural name of the resource.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.APIResource.Builder clearName()
         name is the plural name of the resource.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.APIResource.Builder setNameBytes​(com.google.protobuf.ByteString value)
         name is the plural name of the resource.
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasSingularName

        public boolean hasSingularName()
         singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
         The singularName is more correct for reporting status on a single item and both singular and plural are allowed
         from the kubectl CLI interface.
         
        optional string singularName = 6;
        Specified by:
        hasSingularName in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the singularName field is set.
      • getSingularName

        public String getSingularName()
         singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
         The singularName is more correct for reporting status on a single item and both singular and plural are allowed
         from the kubectl CLI interface.
         
        optional string singularName = 6;
        Specified by:
        getSingularName in interface Generated.APIResourceOrBuilder
        Returns:
        The singularName.
      • getSingularNameBytes

        public com.google.protobuf.ByteString getSingularNameBytes()
         singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
         The singularName is more correct for reporting status on a single item and both singular and plural are allowed
         from the kubectl CLI interface.
         
        optional string singularName = 6;
        Specified by:
        getSingularNameBytes in interface Generated.APIResourceOrBuilder
        Returns:
        The bytes for singularName.
      • setSingularName

        public Generated.APIResource.Builder setSingularName​(String value)
         singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
         The singularName is more correct for reporting status on a single item and both singular and plural are allowed
         from the kubectl CLI interface.
         
        optional string singularName = 6;
        Parameters:
        value - The singularName to set.
        Returns:
        This builder for chaining.
      • clearSingularName

        public Generated.APIResource.Builder clearSingularName()
         singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
         The singularName is more correct for reporting status on a single item and both singular and plural are allowed
         from the kubectl CLI interface.
         
        optional string singularName = 6;
        Returns:
        This builder for chaining.
      • setSingularNameBytes

        public Generated.APIResource.Builder setSingularNameBytes​(com.google.protobuf.ByteString value)
         singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
         The singularName is more correct for reporting status on a single item and both singular and plural are allowed
         from the kubectl CLI interface.
         
        optional string singularName = 6;
        Parameters:
        value - The bytes for singularName to set.
        Returns:
        This builder for chaining.
      • hasNamespaced

        public boolean hasNamespaced()
         namespaced indicates if a resource is namespaced or not.
         
        optional bool namespaced = 2;
        Specified by:
        hasNamespaced in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the namespaced field is set.
      • getNamespaced

        public boolean getNamespaced()
         namespaced indicates if a resource is namespaced or not.
         
        optional bool namespaced = 2;
        Specified by:
        getNamespaced in interface Generated.APIResourceOrBuilder
        Returns:
        The namespaced.
      • setNamespaced

        public Generated.APIResource.Builder setNamespaced​(boolean value)
         namespaced indicates if a resource is namespaced or not.
         
        optional bool namespaced = 2;
        Parameters:
        value - The namespaced to set.
        Returns:
        This builder for chaining.
      • clearNamespaced

        public Generated.APIResource.Builder clearNamespaced()
         namespaced indicates if a resource is namespaced or not.
         
        optional bool namespaced = 2;
        Returns:
        This builder for chaining.
      • hasGroup

        public boolean hasGroup()
         group is the preferred group of the resource.  Empty implies the group of the containing resource list.
         For subresources, this may have a different value, for example: Scale".
         
        optional string group = 8;
        Specified by:
        hasGroup in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the group field is set.
      • getGroup

        public String getGroup()
         group is the preferred group of the resource.  Empty implies the group of the containing resource list.
         For subresources, this may have a different value, for example: Scale".
         
        optional string group = 8;
        Specified by:
        getGroup in interface Generated.APIResourceOrBuilder
        Returns:
        The group.
      • getGroupBytes

        public com.google.protobuf.ByteString getGroupBytes()
         group is the preferred group of the resource.  Empty implies the group of the containing resource list.
         For subresources, this may have a different value, for example: Scale".
         
        optional string group = 8;
        Specified by:
        getGroupBytes in interface Generated.APIResourceOrBuilder
        Returns:
        The bytes for group.
      • setGroup

        public Generated.APIResource.Builder setGroup​(String value)
         group is the preferred group of the resource.  Empty implies the group of the containing resource list.
         For subresources, this may have a different value, for example: Scale".
         
        optional string group = 8;
        Parameters:
        value - The group to set.
        Returns:
        This builder for chaining.
      • clearGroup

        public Generated.APIResource.Builder clearGroup()
         group is the preferred group of the resource.  Empty implies the group of the containing resource list.
         For subresources, this may have a different value, for example: Scale".
         
        optional string group = 8;
        Returns:
        This builder for chaining.
      • setGroupBytes

        public Generated.APIResource.Builder setGroupBytes​(com.google.protobuf.ByteString value)
         group is the preferred group of the resource.  Empty implies the group of the containing resource list.
         For subresources, this may have a different value, for example: Scale".
         
        optional string group = 8;
        Parameters:
        value - The bytes for group to set.
        Returns:
        This builder for chaining.
      • hasVersion

        public boolean hasVersion()
         version is the preferred version of the resource.  Empty implies the version of the containing resource list
         For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
         
        optional string version = 9;
        Specified by:
        hasVersion in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the version field is set.
      • getVersion

        public String getVersion()
         version is the preferred version of the resource.  Empty implies the version of the containing resource list
         For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
         
        optional string version = 9;
        Specified by:
        getVersion in interface Generated.APIResourceOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         version is the preferred version of the resource.  Empty implies the version of the containing resource list
         For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
         
        optional string version = 9;
        Specified by:
        getVersionBytes in interface Generated.APIResourceOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public Generated.APIResource.Builder setVersion​(String value)
         version is the preferred version of the resource.  Empty implies the version of the containing resource list
         For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
         
        optional string version = 9;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public Generated.APIResource.Builder clearVersion()
         version is the preferred version of the resource.  Empty implies the version of the containing resource list
         For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
         
        optional string version = 9;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public Generated.APIResource.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         version is the preferred version of the resource.  Empty implies the version of the containing resource list
         For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
         
        optional string version = 9;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • hasKind

        public boolean hasKind()
         kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
         
        optional string kind = 3;
        Specified by:
        hasKind in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
         
        optional string kind = 3;
        Specified by:
        getKind in interface Generated.APIResourceOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
         
        optional string kind = 3;
        Specified by:
        getKindBytes in interface Generated.APIResourceOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public Generated.APIResource.Builder setKind​(String value)
         kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
         
        optional string kind = 3;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public Generated.APIResource.Builder clearKind()
         kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
         
        optional string kind = 3;
        Returns:
        This builder for chaining.
      • setKindBytes

        public Generated.APIResource.Builder setKindBytes​(com.google.protobuf.ByteString value)
         kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
         
        optional string kind = 3;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • hasVerbs

        public boolean hasVerbs()
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
        Specified by:
        hasVerbs in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the verbs field is set.
      • getVerbs

        public Generated.Verbs getVerbs()
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
        Specified by:
        getVerbs in interface Generated.APIResourceOrBuilder
        Returns:
        The verbs.
      • setVerbs

        public Generated.APIResource.Builder setVerbs​(Generated.Verbs value)
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
      • setVerbs

        public Generated.APIResource.Builder setVerbs​(Generated.Verbs.Builder builderForValue)
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
      • mergeVerbs

        public Generated.APIResource.Builder mergeVerbs​(Generated.Verbs value)
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
      • clearVerbs

        public Generated.APIResource.Builder clearVerbs()
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
      • getVerbsBuilder

        public Generated.Verbs.Builder getVerbsBuilder()
         verbs is a list of supported kube verbs (this includes get, list, watch, create,
         update, patch, delete, deletecollection, and proxy)
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
      • getShortNamesList

        public com.google.protobuf.ProtocolStringList getShortNamesList()
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Specified by:
        getShortNamesList in interface Generated.APIResourceOrBuilder
        Returns:
        A list containing the shortNames.
      • getShortNamesCount

        public int getShortNamesCount()
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Specified by:
        getShortNamesCount in interface Generated.APIResourceOrBuilder
        Returns:
        The count of shortNames.
      • getShortNames

        public String getShortNames​(int index)
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Specified by:
        getShortNames in interface Generated.APIResourceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The shortNames at the given index.
      • getShortNamesBytes

        public com.google.protobuf.ByteString getShortNamesBytes​(int index)
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Specified by:
        getShortNamesBytes in interface Generated.APIResourceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the shortNames at the given index.
      • setShortNames

        public Generated.APIResource.Builder setShortNames​(int index,
                                                           String value)
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Parameters:
        index - The index to set the value at.
        value - The shortNames to set.
        Returns:
        This builder for chaining.
      • addShortNames

        public Generated.APIResource.Builder addShortNames​(String value)
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Parameters:
        value - The shortNames to add.
        Returns:
        This builder for chaining.
      • addAllShortNames

        public Generated.APIResource.Builder addAllShortNames​(Iterable<String> values)
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Parameters:
        values - The shortNames to add.
        Returns:
        This builder for chaining.
      • clearShortNames

        public Generated.APIResource.Builder clearShortNames()
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Returns:
        This builder for chaining.
      • addShortNamesBytes

        public Generated.APIResource.Builder addShortNamesBytes​(com.google.protobuf.ByteString value)
         shortNames is a list of suggested short names of the resource.
         +listType=atomic
         
        repeated string shortNames = 5;
        Parameters:
        value - The bytes of the shortNames to add.
        Returns:
        This builder for chaining.
      • getCategoriesList

        public com.google.protobuf.ProtocolStringList getCategoriesList()
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Specified by:
        getCategoriesList in interface Generated.APIResourceOrBuilder
        Returns:
        A list containing the categories.
      • getCategoriesCount

        public int getCategoriesCount()
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Specified by:
        getCategoriesCount in interface Generated.APIResourceOrBuilder
        Returns:
        The count of categories.
      • getCategories

        public String getCategories​(int index)
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Specified by:
        getCategories in interface Generated.APIResourceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The categories at the given index.
      • getCategoriesBytes

        public com.google.protobuf.ByteString getCategoriesBytes​(int index)
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Specified by:
        getCategoriesBytes in interface Generated.APIResourceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the categories at the given index.
      • setCategories

        public Generated.APIResource.Builder setCategories​(int index,
                                                           String value)
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Parameters:
        index - The index to set the value at.
        value - The categories to set.
        Returns:
        This builder for chaining.
      • addCategories

        public Generated.APIResource.Builder addCategories​(String value)
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Parameters:
        value - The categories to add.
        Returns:
        This builder for chaining.
      • addAllCategories

        public Generated.APIResource.Builder addAllCategories​(Iterable<String> values)
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Parameters:
        values - The categories to add.
        Returns:
        This builder for chaining.
      • clearCategories

        public Generated.APIResource.Builder clearCategories()
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Returns:
        This builder for chaining.
      • addCategoriesBytes

        public Generated.APIResource.Builder addCategoriesBytes​(com.google.protobuf.ByteString value)
         categories is a list of the grouped resources this resource belongs to (e.g. 'all')
         +listType=atomic
         
        repeated string categories = 7;
        Parameters:
        value - The bytes of the categories to add.
        Returns:
        This builder for chaining.
      • hasStorageVersionHash

        public boolean hasStorageVersionHash()
         The hash value of the storage version, the version this resource is
         converted to when written to the data store. Value must be treated
         as opaque by clients. Only equality comparison on the value is valid.
         This is an alpha feature and may change or be removed in the future.
         The field is populated by the apiserver only if the
         StorageVersionHash feature gate is enabled.
         This field will remain optional even if it graduates.
         +optional
         
        optional string storageVersionHash = 10;
        Specified by:
        hasStorageVersionHash in interface Generated.APIResourceOrBuilder
        Returns:
        Whether the storageVersionHash field is set.
      • getStorageVersionHash

        public String getStorageVersionHash()
         The hash value of the storage version, the version this resource is
         converted to when written to the data store. Value must be treated
         as opaque by clients. Only equality comparison on the value is valid.
         This is an alpha feature and may change or be removed in the future.
         The field is populated by the apiserver only if the
         StorageVersionHash feature gate is enabled.
         This field will remain optional even if it graduates.
         +optional
         
        optional string storageVersionHash = 10;
        Specified by:
        getStorageVersionHash in interface Generated.APIResourceOrBuilder
        Returns:
        The storageVersionHash.
      • getStorageVersionHashBytes

        public com.google.protobuf.ByteString getStorageVersionHashBytes()
         The hash value of the storage version, the version this resource is
         converted to when written to the data store. Value must be treated
         as opaque by clients. Only equality comparison on the value is valid.
         This is an alpha feature and may change or be removed in the future.
         The field is populated by the apiserver only if the
         StorageVersionHash feature gate is enabled.
         This field will remain optional even if it graduates.
         +optional
         
        optional string storageVersionHash = 10;
        Specified by:
        getStorageVersionHashBytes in interface Generated.APIResourceOrBuilder
        Returns:
        The bytes for storageVersionHash.
      • setStorageVersionHash

        public Generated.APIResource.Builder setStorageVersionHash​(String value)
         The hash value of the storage version, the version this resource is
         converted to when written to the data store. Value must be treated
         as opaque by clients. Only equality comparison on the value is valid.
         This is an alpha feature and may change or be removed in the future.
         The field is populated by the apiserver only if the
         StorageVersionHash feature gate is enabled.
         This field will remain optional even if it graduates.
         +optional
         
        optional string storageVersionHash = 10;
        Parameters:
        value - The storageVersionHash to set.
        Returns:
        This builder for chaining.
      • clearStorageVersionHash

        public Generated.APIResource.Builder clearStorageVersionHash()
         The hash value of the storage version, the version this resource is
         converted to when written to the data store. Value must be treated
         as opaque by clients. Only equality comparison on the value is valid.
         This is an alpha feature and may change or be removed in the future.
         The field is populated by the apiserver only if the
         StorageVersionHash feature gate is enabled.
         This field will remain optional even if it graduates.
         +optional
         
        optional string storageVersionHash = 10;
        Returns:
        This builder for chaining.
      • setStorageVersionHashBytes

        public Generated.APIResource.Builder setStorageVersionHashBytes​(com.google.protobuf.ByteString value)
         The hash value of the storage version, the version this resource is
         converted to when written to the data store. Value must be treated
         as opaque by clients. Only equality comparison on the value is valid.
         This is an alpha feature and may change or be removed in the future.
         The field is populated by the apiserver only if the
         StorageVersionHash feature gate is enabled.
         This field will remain optional even if it graduates.
         +optional
         
        optional string storageVersionHash = 10;
        Parameters:
        value - The bytes for storageVersionHash to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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