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.Descriptor
com.google.protobuf.Descriptors.Descriptor
groupVersion is the group and version this APIResourceList is for.com.google.protobuf.ByteString
groupVersion 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.int
resources 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.boolean
groupVersion is the group and version this APIResourceList is for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
setField
public Meta.APIResourceList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
clearField
public Meta.APIResourceList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
clearOneof
public Meta.APIResourceList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
addRepeatedField
public Meta.APIResourceList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Meta.APIResourceList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasGroupVersion
in interfaceMeta.APIResourceListOrBuilder
-
getGroupVersion
groupVersion is the group and version this APIResourceList is for.
optional string groupVersion = 1;
- Specified by:
getGroupVersion
in 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:
getGroupVersionBytes
in 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:
getResourcesList
in 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:
getResourcesCount
in 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:
getResources
in 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:
getResourcesOrBuilder
in 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:
getResourcesOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-
mergeUnknownFields
public final Meta.APIResourceList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.APIResourceList.Builder>
-