public static final class V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder> implements V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilder
CustomResourceDefinitionSpec describes how a user wants their resource to appearProtobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceDefinitionSpec |
build() |
V1beta1Apiextensions.CustomResourceDefinitionSpec |
buildPartial() |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clear() |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearGroup()
Group is the group this resource belongs in
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearNames()
Names are the names used to describe this custom resource
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearScope()
Scope indicates whether this resource is cluster or namespace scoped.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearValidation()
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clearVersion()
Version is the version this resource belongs in
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
clone() |
V1beta1Apiextensions.CustomResourceDefinitionSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGroup()
Group is the group this resource belongs in
|
com.google.protobuf.ByteString |
getGroupBytes()
Group is the group this resource belongs in
|
V1beta1Apiextensions.CustomResourceDefinitionNames |
getNames()
Names are the names used to describe this custom resource
|
V1beta1Apiextensions.CustomResourceDefinitionNames.Builder |
getNamesBuilder()
Names are the names used to describe this custom resource
|
V1beta1Apiextensions.CustomResourceDefinitionNamesOrBuilder |
getNamesOrBuilder()
Names are the names used to describe this custom resource
|
String |
getScope()
Scope indicates whether this resource is cluster or namespace scoped.
|
com.google.protobuf.ByteString |
getScopeBytes()
Scope indicates whether this resource is cluster or namespace scoped.
|
V1beta1Apiextensions.CustomResourceValidation |
getValidation()
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
V1beta1Apiextensions.CustomResourceValidation.Builder |
getValidationBuilder()
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
V1beta1Apiextensions.CustomResourceValidationOrBuilder |
getValidationOrBuilder()
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
String |
getVersion()
Version is the version this resource belongs in
|
com.google.protobuf.ByteString |
getVersionBytes()
Version is the version this resource belongs in
|
boolean |
hasGroup()
Group is the group this resource belongs in
|
boolean |
hasNames()
Names are the names used to describe this custom resource
|
boolean |
hasScope()
Scope indicates whether this resource is cluster or namespace scoped.
|
boolean |
hasValidation()
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
boolean |
hasVersion()
Version is the version this resource belongs in
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeFrom(V1beta1Apiextensions.CustomResourceDefinitionSpec other) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
Names are the names used to describe this custom resource
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
mergeValidation(V1beta1Apiextensions.CustomResourceValidation value)
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setGroup(String value)
Group is the group this resource belongs in
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setGroupBytes(com.google.protobuf.ByteString value)
Group is the group this resource belongs in
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setNames(V1beta1Apiextensions.CustomResourceDefinitionNames.Builder builderForValue)
Names are the names used to describe this custom resource
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
Names are the names used to describe this custom resource
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setScope(String value)
Scope indicates whether this resource is cluster or namespace scoped.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setScopeBytes(com.google.protobuf.ByteString value)
Scope indicates whether this resource is cluster or namespace scoped.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setValidation(V1beta1Apiextensions.CustomResourceValidation.Builder builderForValue)
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setValidation(V1beta1Apiextensions.CustomResourceValidation value)
Validation describes the validation methods for CustomResources
This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setVersion(String value)
Version is the version this resource belongs in
|
V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
Version is the version this resource belongs in
|
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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeFrom(V1beta1Apiextensions.CustomResourceDefinitionSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public V1beta1Apiextensions.CustomResourceDefinitionSpec.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<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>IOExceptionpublic boolean hasGroup()
Group is the group this resource belongs in
optional string group = 1;hasGroup in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic String getGroup()
Group is the group this resource belongs in
optional string group = 1;getGroup in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic com.google.protobuf.ByteString getGroupBytes()
Group is the group this resource belongs in
optional string group = 1;getGroupBytes in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setGroup(String value)
Group is the group this resource belongs in
optional string group = 1;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearGroup()
Group is the group this resource belongs in
optional string group = 1;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setGroupBytes(com.google.protobuf.ByteString value)
Group is the group this resource belongs in
optional string group = 1;public boolean hasVersion()
Version is the version this resource belongs in
optional string version = 2;hasVersion in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic String getVersion()
Version is the version this resource belongs in
optional string version = 2;getVersion in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Version is the version this resource belongs in
optional string version = 2;getVersionBytes in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setVersion(String value)
Version is the version this resource belongs in
optional string version = 2;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearVersion()
Version is the version this resource belongs in
optional string version = 2;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setVersionBytes(com.google.protobuf.ByteString value)
Version is the version this resource belongs in
optional string version = 2;public boolean hasNames()
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;hasNames in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionNames getNames()
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;getNames in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setNames(V1beta1Apiextensions.CustomResourceDefinitionNames.Builder builderForValue)
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeNames(V1beta1Apiextensions.CustomResourceDefinitionNames value)
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearNames()
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;public V1beta1Apiextensions.CustomResourceDefinitionNames.Builder getNamesBuilder()
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;public V1beta1Apiextensions.CustomResourceDefinitionNamesOrBuilder getNamesOrBuilder()
Names are the names used to describe this custom resource
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames names = 3;getNamesOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic boolean hasScope()
Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
optional string scope = 4;hasScope in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic String getScope()
Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
optional string scope = 4;getScope in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic com.google.protobuf.ByteString getScopeBytes()
Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
optional string scope = 4;getScopeBytes in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setScope(String value)
Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
optional string scope = 4;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearScope()
Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
optional string scope = 4;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setScopeBytes(com.google.protobuf.ByteString value)
Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
optional string scope = 4;public boolean hasValidation()
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;hasValidation in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceValidation getValidation()
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;getValidation in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setValidation(V1beta1Apiextensions.CustomResourceValidation value)
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setValidation(V1beta1Apiextensions.CustomResourceValidation.Builder builderForValue)
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeValidation(V1beta1Apiextensions.CustomResourceValidation value)
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;public V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder clearValidation()
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;public V1beta1Apiextensions.CustomResourceValidation.Builder getValidationBuilder()
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;public V1beta1Apiextensions.CustomResourceValidationOrBuilder getValidationOrBuilder()
Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation validation = 5;getValidationOrBuilder in interface V1beta1Apiextensions.CustomResourceDefinitionSpecOrBuilderpublic final V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>public final V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceDefinitionSpec.Builder>Copyright © 2018. All rights reserved.