Package io.kubernetes.client.proto
Class V1beta1Apiextensions.WebhookClientConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
io.kubernetes.client.proto.V1beta1Apiextensions.WebhookClientConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Apiextensions.WebhookClientConfigOrBuilder,Cloneable
- Enclosing class:
- V1beta1Apiextensions.WebhookClientConfig
public static final class V1beta1Apiextensions.WebhookClientConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
implements V1beta1Apiextensions.WebhookClientConfigOrBuilder
WebhookClientConfig contains the information to make a TLS connection with the webhook.Protobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) service is a reference to the service for this webhook.clearUrl()url gives the location of the webhook, in standard URL form (`scheme://host:port/path`).clone()com.google.protobuf.ByteStringcaBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorservice is a reference to the service for this webhook.service is a reference to the service for this webhook.service is a reference to the service for this webhook.getUrl()url gives the location of the webhook, in standard URL form (`scheme://host:port/path`).com.google.protobuf.ByteStringurl gives the location of the webhook, in standard URL form (`scheme://host:port/path`).booleancaBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.booleanservice is a reference to the service for this webhook.booleanhasUrl()url gives the location of the webhook, in standard URL form (`scheme://host:port/path`).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) service is a reference to the service for this webhook.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCaBundle(com.google.protobuf.ByteString value) caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) service is a reference to the service for this webhook.setService(V1beta1Apiextensions.ServiceReference.Builder builderForValue) service is a reference to the service for this webhook.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) url gives the location of the webhook, in standard URL form (`scheme://host:port/path`).setUrlBytes(com.google.protobuf.ByteString value) url gives the location of the webhook, in standard URL form (`scheme://host:port/path`).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<V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
setField
public V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
clearField
public V1beta1Apiextensions.WebhookClientConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
clearOneof
public V1beta1Apiextensions.WebhookClientConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
setRepeatedField
public V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
addRepeatedField
public V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
mergeFrom
public V1beta1Apiextensions.WebhookClientConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
mergeFrom
public V1beta1Apiextensions.WebhookClientConfig.Builder mergeFrom(V1beta1Apiextensions.WebhookClientConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
mergeFrom
public V1beta1Apiextensions.WebhookClientConfig.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<V1beta1Apiextensions.WebhookClientConfig.Builder>- Throws:
IOException
-
hasUrl
public boolean hasUrl()url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be "https"; the URL must begin with "https://". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. +optionaloptional string url = 3;- Specified by:
hasUrlin interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
getUrl
url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be "https"; the URL must begin with "https://". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. +optionaloptional string url = 3;- Specified by:
getUrlin interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be "https"; the URL must begin with "https://". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. +optionaloptional string url = 3;- Specified by:
getUrlBytesin interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
setUrl
url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be "https"; the URL must begin with "https://". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. +optionaloptional string url = 3; -
clearUrl
url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be "https"; the URL must begin with "https://". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. +optionaloptional string url = 3; -
setUrlBytes
public V1beta1Apiextensions.WebhookClientConfig.Builder setUrlBytes(com.google.protobuf.ByteString value) url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be "https"; the URL must begin with "https://". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either. +optionaloptional string url = 3; -
hasService
public boolean hasService()service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1;- Specified by:
hasServicein interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
getService
service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1;- Specified by:
getServicein interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
setService
public V1beta1Apiextensions.WebhookClientConfig.Builder setService(V1beta1Apiextensions.ServiceReference value) service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1; -
setService
public V1beta1Apiextensions.WebhookClientConfig.Builder setService(V1beta1Apiextensions.ServiceReference.Builder builderForValue) service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1; -
mergeService
public V1beta1Apiextensions.WebhookClientConfig.Builder mergeService(V1beta1Apiextensions.ServiceReference value) service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1; -
clearService
service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1; -
getServiceBuilder
service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1; -
getServiceOrBuilder
service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`. +optional
optional .k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference service = 1;- Specified by:
getServiceOrBuilderin interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
hasCaBundle
public boolean hasCaBundle()caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. +optional
optional bytes caBundle = 2;- Specified by:
hasCaBundlein interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
getCaBundle
public com.google.protobuf.ByteString getCaBundle()caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. +optional
optional bytes caBundle = 2;- Specified by:
getCaBundlein interfaceV1beta1Apiextensions.WebhookClientConfigOrBuilder
-
setCaBundle
public V1beta1Apiextensions.WebhookClientConfig.Builder setCaBundle(com.google.protobuf.ByteString value) caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. +optional
optional bytes caBundle = 2; -
clearCaBundle
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. +optional
optional bytes caBundle = 2; -
setUnknownFields
public final V1beta1Apiextensions.WebhookClientConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
-
mergeUnknownFields
public final V1beta1Apiextensions.WebhookClientConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>
-