public static final class Meta.APIResourceList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder> implements Meta.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 type
k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList| Modifier and Type | Method and Description |
|---|---|
Meta.APIResourceList.Builder |
addAllResources(Iterable<? extends Meta.APIResource> values)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.APIResourceList.Builder |
addResources(int index,
Meta.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
addResources(int index,
Meta.APIResource value)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
addResources(Meta.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
addResources(Meta.APIResource value)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResource.Builder |
addResourcesBuilder()
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResource.Builder |
addResourcesBuilder(int index)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList |
build() |
Meta.APIResourceList |
buildPartial() |
Meta.APIResourceList.Builder |
clear() |
Meta.APIResourceList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Meta.APIResourceList.Builder |
clearGroupVersion()
groupVersion is the group and version this APIResourceList is for.
|
Meta.APIResourceList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Meta.APIResourceList.Builder |
clearResources()
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
clone() |
Meta.APIResourceList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGroupVersion()
groupVersion is the group and version this APIResourceList is for.
|
com.google.protobuf.ByteString |
getGroupVersionBytes()
groupVersion is the group and version this APIResourceList is for.
|
Meta.APIResource |
getResources(int index)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResource.Builder |
getResourcesBuilder(int index)
resources contains the name of the resources and if they are namespaced.
|
List<Meta.APIResource.Builder> |
getResourcesBuilderList()
resources contains the name of the resources and if they are namespaced.
|
int |
getResourcesCount()
resources contains the name of the resources and if they are namespaced.
|
List<Meta.APIResource> |
getResourcesList()
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceOrBuilder |
getResourcesOrBuilder(int index)
resources contains the name of the resources and if they are namespaced.
|
List<? extends Meta.APIResourceOrBuilder> |
getResourcesOrBuilderList()
resources contains the name of the resources and if they are namespaced.
|
boolean |
hasGroupVersion()
groupVersion is the group and version this APIResourceList is for.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Meta.APIResourceList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Meta.APIResourceList.Builder |
mergeFrom(com.google.protobuf.Message other) |
Meta.APIResourceList.Builder |
mergeFrom(Meta.APIResourceList other) |
Meta.APIResourceList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Meta.APIResourceList.Builder |
removeResources(int index)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Meta.APIResourceList.Builder |
setGroupVersion(String value)
groupVersion is the group and version this APIResourceList is for.
|
Meta.APIResourceList.Builder |
setGroupVersionBytes(com.google.protobuf.ByteString value)
groupVersion is the group and version this APIResourceList is for.
|
Meta.APIResourceList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Meta.APIResourceList.Builder |
setResources(int index,
Meta.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
setResources(int index,
Meta.APIResource value)
resources contains the name of the resources and if they are namespaced.
|
Meta.APIResourceList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Meta.APIResourceList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Meta.APIResourceList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Meta.APIResourceList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder mergeFrom(Meta.APIResourceList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public Meta.APIResourceList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Meta.APIResourceList.Builder>IOExceptionpublic boolean hasGroupVersion()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;hasGroupVersion in interface Meta.APIResourceListOrBuilderpublic String getGroupVersion()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;getGroupVersion in interface Meta.APIResourceListOrBuilderpublic com.google.protobuf.ByteString getGroupVersionBytes()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;getGroupVersionBytes in interface Meta.APIResourceListOrBuilderpublic Meta.APIResourceList.Builder setGroupVersion(String value)
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;public Meta.APIResourceList.Builder clearGroupVersion()
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;public Meta.APIResourceList.Builder setGroupVersionBytes(com.google.protobuf.ByteString value)
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;public List<Meta.APIResource> getResourcesList()
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
getResourcesList in interface Meta.APIResourceListOrBuilderpublic int getResourcesCount()
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
getResourcesCount in interface Meta.APIResourceListOrBuilderpublic Meta.APIResource getResources(int index)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
getResources in interface Meta.APIResourceListOrBuilderpublic Meta.APIResourceList.Builder setResources(int index, Meta.APIResource value)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder setResources(int index, Meta.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder addResources(Meta.APIResource value)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder addResources(int index, Meta.APIResource value)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder addResources(Meta.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder addResources(int index, Meta.APIResource.Builder builderForValue)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder addAllResources(Iterable<? extends Meta.APIResource> values)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder clearResources()
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceList.Builder removeResources(int index)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResource.Builder getResourcesBuilder(int index)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResourceOrBuilder getResourcesOrBuilder(int index)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
getResourcesOrBuilder in interface Meta.APIResourceListOrBuilderpublic List<? extends Meta.APIResourceOrBuilder> getResourcesOrBuilderList()
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
getResourcesOrBuilderList in interface Meta.APIResourceListOrBuilderpublic Meta.APIResource.Builder addResourcesBuilder()
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public Meta.APIResource.Builder addResourcesBuilder(int index)
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public List<Meta.APIResource.Builder> getResourcesBuilderList()
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
public final Meta.APIResourceList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>public final Meta.APIResourceList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>Copyright © 2020. All rights reserved.