Class Generated.APIResourceList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
- k8s.io.apimachinery.pkg.apis.meta.v1.Generated.APIResourceList.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.APIResourceListOrBuilder
- Enclosing class:
- Generated.APIResourceList
public static final class Generated.APIResourceList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder> implements Generated.APIResourceListOrBuilder
APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
Protobuf typek8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.APIResourceList.BuilderaddAllResources(Iterable<? extends Generated.APIResource> values)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.APIResourceList.BuilderaddResources(int index, Generated.APIResource value)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuilderaddResources(int index, Generated.APIResource.Builder builderForValue)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuilderaddResources(Generated.APIResource value)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuilderaddResources(Generated.APIResource.Builder builderForValue)resources contains the name of the resources and if they are namespaced.Generated.APIResource.BuilderaddResourcesBuilder()resources contains the name of the resources and if they are namespaced.Generated.APIResource.BuilderaddResourcesBuilder(int index)resources contains the name of the resources and if they are namespaced.Generated.APIResourceListbuild()Generated.APIResourceListbuildPartial()Generated.APIResourceList.Builderclear()Generated.APIResourceList.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.APIResourceList.BuilderclearGroupVersion()groupVersion is the group and version this APIResourceList is for.Generated.APIResourceList.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.APIResourceList.BuilderclearResources()resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.Builderclone()Generated.APIResourceListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGroupVersion()groupVersion is the group and version this APIResourceList is for.com.google.protobuf.ByteStringgetGroupVersionBytes()groupVersion is the group and version this APIResourceList is for.Generated.APIResourcegetResources(int index)resources contains the name of the resources and if they are namespaced.Generated.APIResource.BuildergetResourcesBuilder(int index)resources contains the name of the resources and if they are namespaced.List<Generated.APIResource.Builder>getResourcesBuilderList()resources contains the name of the resources and if they are namespaced.intgetResourcesCount()resources contains the name of the resources and if they are namespaced.List<Generated.APIResource>getResourcesList()resources contains the name of the resources and if they are namespaced.Generated.APIResourceOrBuildergetResourcesOrBuilder(int index)resources contains the name of the resources and if they are namespaced.List<? extends Generated.APIResourceOrBuilder>getResourcesOrBuilderList()resources contains the name of the resources and if they are namespaced.booleanhasGroupVersion()groupVersion is the group and version this APIResourceList is for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.APIResourceList.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.APIResourceList.BuildermergeFrom(com.google.protobuf.Message other)Generated.APIResourceList.BuildermergeFrom(Generated.APIResourceList other)Generated.APIResourceList.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.APIResourceList.BuilderremoveResources(int index)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.APIResourceList.BuildersetGroupVersion(String value)groupVersion is the group and version this APIResourceList is for.Generated.APIResourceList.BuildersetGroupVersionBytes(com.google.protobuf.ByteString value)groupVersion is the group and version this APIResourceList is for.Generated.APIResourceList.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.APIResourceList.BuildersetResources(int index, Generated.APIResource value)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuildersetResources(int index, Generated.APIResource.Builder builderForValue)resources contains the name of the resources and if they are namespaced.Generated.APIResourceList.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
clear
public Generated.APIResourceList.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
getDefaultInstanceForType
public Generated.APIResourceList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.APIResourceList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.APIResourceList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.APIResourceList.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
setField
public Generated.APIResourceList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
clearField
public Generated.APIResourceList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
clearOneof
public Generated.APIResourceList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
setRepeatedField
public Generated.APIResourceList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
addRepeatedField
public Generated.APIResourceList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
mergeFrom
public Generated.APIResourceList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.APIResourceList.Builder>
-
mergeFrom
public Generated.APIResourceList.Builder mergeFrom(Generated.APIResourceList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
mergeFrom
public Generated.APIResourceList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.APIResourceList.Builder>- Throws:
IOException
-
hasGroupVersion
public boolean hasGroupVersion()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Specified by:
hasGroupVersionin interfaceGenerated.APIResourceListOrBuilder- Returns:
- Whether the groupVersion field is set.
-
getGroupVersion
public String getGroupVersion()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Specified by:
getGroupVersionin interfaceGenerated.APIResourceListOrBuilder- Returns:
- The groupVersion.
-
getGroupVersionBytes
public com.google.protobuf.ByteString getGroupVersionBytes()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Specified by:
getGroupVersionBytesin interfaceGenerated.APIResourceListOrBuilder- Returns:
- The bytes for groupVersion.
-
setGroupVersion
public Generated.APIResourceList.Builder setGroupVersion(String value)
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Parameters:
value- The groupVersion to set.- Returns:
- This builder for chaining.
-
clearGroupVersion
public Generated.APIResourceList.Builder clearGroupVersion()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Returns:
- This builder for chaining.
-
setGroupVersionBytes
public Generated.APIResourceList.Builder setGroupVersionBytes(com.google.protobuf.ByteString value)
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Parameters:
value- The bytes for groupVersion to set.- Returns:
- This builder for chaining.
-
getResourcesList
public List<Generated.APIResource> getResourcesList()
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesListin interfaceGenerated.APIResourceListOrBuilder
-
getResourcesCount
public int getResourcesCount()
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesCountin interfaceGenerated.APIResourceListOrBuilder
-
getResources
public Generated.APIResource getResources(int index)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesin interfaceGenerated.APIResourceListOrBuilder
-
setResources
public Generated.APIResourceList.Builder setResources(int index, Generated.APIResource value)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
setResources
public Generated.APIResourceList.Builder setResources(int index, Generated.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
addResources
public Generated.APIResourceList.Builder addResources(Generated.APIResource value)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
addResources
public Generated.APIResourceList.Builder addResources(int index, Generated.APIResource value)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
addResources
public Generated.APIResourceList.Builder addResources(Generated.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
addResources
public Generated.APIResourceList.Builder addResources(int index, Generated.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
addAllResources
public Generated.APIResourceList.Builder addAllResources(Iterable<? extends Generated.APIResource> values)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
clearResources
public Generated.APIResourceList.Builder clearResources()
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
removeResources
public Generated.APIResourceList.Builder removeResources(int index)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
getResourcesBuilder
public Generated.APIResource.Builder getResourcesBuilder(int index)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
getResourcesOrBuilder
public Generated.APIResourceOrBuilder getResourcesOrBuilder(int index)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesOrBuilderin interfaceGenerated.APIResourceListOrBuilder
-
getResourcesOrBuilderList
public List<? extends Generated.APIResourceOrBuilder> getResourcesOrBuilderList()
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesOrBuilderListin interfaceGenerated.APIResourceListOrBuilder
-
addResourcesBuilder
public Generated.APIResource.Builder addResourcesBuilder()
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
addResourcesBuilder
public Generated.APIResource.Builder addResourcesBuilder(int index)
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
getResourcesBuilderList
public List<Generated.APIResource.Builder> getResourcesBuilderList()
resources contains the name of the resources and if they are namespaced. +listType=atomic
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
-
setUnknownFields
public final Generated.APIResourceList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
mergeUnknownFields
public final Generated.APIResourceList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.APIResourceList.Builder>
-
-