public static final class V1beta1Apiextensions.CustomResourceConversion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder> implements V1beta1Apiextensions.CustomResourceConversionOrBuilder
CustomResourceConversion describes how to convert different versions of a CR.Protobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.CustomResourceConversion.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceConversion |
build() |
V1beta1Apiextensions.CustomResourceConversion |
buildPartial() |
V1beta1Apiextensions.CustomResourceConversion.Builder |
clear() |
V1beta1Apiextensions.CustomResourceConversion.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
clearStrategy()
`strategy` specifies the conversion strategy.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
clearWebhookClientConfig()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
clone() |
V1beta1Apiextensions.CustomResourceConversion |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getStrategy()
`strategy` specifies the conversion strategy.
|
com.google.protobuf.ByteString |
getStrategyBytes()
`strategy` specifies the conversion strategy.
|
V1beta1Apiextensions.WebhookClientConfig |
getWebhookClientConfig()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
getWebhookClientConfigBuilder()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
V1beta1Apiextensions.WebhookClientConfigOrBuilder |
getWebhookClientConfigOrBuilder()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
boolean |
hasStrategy()
`strategy` specifies the conversion strategy.
|
boolean |
hasWebhookClientConfig()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.CustomResourceConversion.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
mergeFrom(V1beta1Apiextensions.CustomResourceConversion other) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
mergeWebhookClientConfig(V1beta1Apiextensions.WebhookClientConfig value)
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
setStrategy(String value)
`strategy` specifies the conversion strategy.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
setStrategyBytes(com.google.protobuf.ByteString value)
`strategy` specifies the conversion strategy.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceConversion.Builder |
setWebhookClientConfig(V1beta1Apiextensions.WebhookClientConfig.Builder builderForValue)
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
V1beta1Apiextensions.CustomResourceConversion.Builder |
setWebhookClientConfig(V1beta1Apiextensions.WebhookClientConfig value)
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`.
|
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.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.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.CustomResourceConversion.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.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.CustomResourceConversion build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceConversion buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceConversion.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.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.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.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.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.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.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.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.Builder mergeFrom(V1beta1Apiextensions.CustomResourceConversion other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder>public V1beta1Apiextensions.CustomResourceConversion.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.CustomResourceConversion.Builder>IOExceptionpublic boolean hasStrategy()
`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
optional string strategy = 1;hasStrategy in interface V1beta1Apiextensions.CustomResourceConversionOrBuilderpublic String getStrategy()
`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
optional string strategy = 1;getStrategy in interface V1beta1Apiextensions.CustomResourceConversionOrBuilderpublic com.google.protobuf.ByteString getStrategyBytes()
`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
optional string strategy = 1;getStrategyBytes in interface V1beta1Apiextensions.CustomResourceConversionOrBuilderpublic V1beta1Apiextensions.CustomResourceConversion.Builder setStrategy(String value)
`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
optional string strategy = 1;public V1beta1Apiextensions.CustomResourceConversion.Builder clearStrategy()
`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
optional string strategy = 1;public V1beta1Apiextensions.CustomResourceConversion.Builder setStrategyBytes(com.google.protobuf.ByteString value)
`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
optional string strategy = 1;public boolean hasWebhookClientConfig()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
hasWebhookClientConfig in interface V1beta1Apiextensions.CustomResourceConversionOrBuilderpublic V1beta1Apiextensions.WebhookClientConfig getWebhookClientConfig()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
getWebhookClientConfig in interface V1beta1Apiextensions.CustomResourceConversionOrBuilderpublic V1beta1Apiextensions.CustomResourceConversion.Builder setWebhookClientConfig(V1beta1Apiextensions.WebhookClientConfig value)
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
public V1beta1Apiextensions.CustomResourceConversion.Builder setWebhookClientConfig(V1beta1Apiextensions.WebhookClientConfig.Builder builderForValue)
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
public V1beta1Apiextensions.CustomResourceConversion.Builder mergeWebhookClientConfig(V1beta1Apiextensions.WebhookClientConfig value)
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
public V1beta1Apiextensions.CustomResourceConversion.Builder clearWebhookClientConfig()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
public V1beta1Apiextensions.WebhookClientConfig.Builder getWebhookClientConfigBuilder()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
public V1beta1Apiextensions.WebhookClientConfigOrBuilder getWebhookClientConfigOrBuilder()
`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig webhookClientConfig = 2;
getWebhookClientConfigOrBuilder in interface V1beta1Apiextensions.CustomResourceConversionOrBuilderpublic final V1beta1Apiextensions.CustomResourceConversion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder>public final V1beta1Apiextensions.CustomResourceConversion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceConversion.Builder>Copyright © 2020. All rights reserved.