Package io.kubernetes.client.proto
Class Meta.APIResourceList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
io.kubernetes.client.proto.Meta.APIResourceList.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.APIResourceListOrBuilder,Cloneable
- Enclosing class:
- Meta.APIResourceList
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllResources(Iterable<? extends Meta.APIResource> values) resources contains the name of the resources and if they are namespaced.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResources(int index, Meta.APIResource value) resources contains the name of the resources and if they are namespaced.addResources(int index, Meta.APIResource.Builder builderForValue) resources contains the name of the resources and if they are namespaced.addResources(Meta.APIResource value) resources contains the name of the resources and if they are namespaced.addResources(Meta.APIResource.Builder builderForValue) resources contains the name of the resources and if they are namespaced.resources contains the name of the resources and if they are namespaced.addResourcesBuilder(int index) resources contains the name of the resources and if they are namespaced.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) groupVersion is the group and version this APIResourceList is for.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) resources contains the name of the resources and if they are namespaced.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgroupVersion is the group and version this APIResourceList is for.com.google.protobuf.ByteStringgroupVersion is the group and version this APIResourceList is for.getResources(int index) resources contains the name of the resources and if they are namespaced.getResourcesBuilder(int index) resources contains the name of the resources and if they are namespaced.resources contains the name of the resources and if they are namespaced.intresources contains the name of the resources and if they are namespaced.resources contains the name of the resources and if they are namespaced.getResourcesOrBuilder(int index) resources contains the name of the resources and if they are namespaced.List<? extends Meta.APIResourceOrBuilder>resources contains the name of the resources and if they are namespaced.booleangroupVersion is the group and version this APIResourceList is for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Meta.APIResourceList other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeResources(int index) resources contains the name of the resources and if they are namespaced.setGroupVersion(String value) groupVersion is the group and version this APIResourceList is for.setGroupVersionBytes(com.google.protobuf.ByteString value) groupVersion is the group and version this APIResourceList is for.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResources(int index, Meta.APIResource value) resources contains the name of the resources and if they are namespaced.setResources(int index, Meta.APIResource.Builder builderForValue) resources contains the name of the resources and if they are namespaced.setUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<Meta.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<Meta.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<Meta.APIResourceList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<Meta.APIResourceList.Builder>
-
setField
public Meta.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<Meta.APIResourceList.Builder>
-
clearField
public Meta.APIResourceList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
clearOneof
public Meta.APIResourceList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
setRepeatedField
public Meta.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<Meta.APIResourceList.Builder>
-
addRepeatedField
public Meta.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<Meta.APIResourceList.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.APIResourceList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
mergeFrom
public Meta.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<Meta.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 interfaceMeta.APIResourceListOrBuilder
-
getGroupVersion
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Specified by:
getGroupVersionin interfaceMeta.APIResourceListOrBuilder
-
getGroupVersionBytes
public com.google.protobuf.ByteString getGroupVersionBytes()groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;- Specified by:
getGroupVersionBytesin interfaceMeta.APIResourceListOrBuilder
-
setGroupVersion
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1; -
clearGroupVersion
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1; -
setGroupVersionBytes
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1; -
getResourcesList
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesListin interfaceMeta.APIResourceListOrBuilder
-
getResourcesCount
public 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;- Specified by:
getResourcesCountin interfaceMeta.APIResourceListOrBuilder
-
getResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesin interfaceMeta.APIResourceListOrBuilder
-
setResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
setResources
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; -
addResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
addResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
addResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
addResources
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; -
addAllResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
clearResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
removeResources
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
getResourcesBuilder
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
getResourcesOrBuilder
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesOrBuilderin interfaceMeta.APIResourceListOrBuilder
-
getResourcesOrBuilderList
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;- Specified by:
getResourcesOrBuilderListin interfaceMeta.APIResourceListOrBuilder
-
addResourcesBuilder
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
addResourcesBuilder
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
getResourcesBuilderList
resources contains the name of the resources and if they are namespaced.
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; -
setUnknownFields
public final Meta.APIResourceList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
mergeUnknownFields
public final Meta.APIResourceList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-