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| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.WebhookClientConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.WebhookClientConfig |
build() |
V1beta1Apiextensions.WebhookClientConfig |
buildPartial() |
V1beta1Apiextensions.WebhookClientConfig.Builder |
clear() |
V1beta1Apiextensions.WebhookClientConfig.Builder |
clearCaBundle()
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
clearService()
service is a reference to the service for this webhook.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
clearUrl()
url gives the location of the webhook, in standard URL form
(`scheme://host:port/path`).
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
clone() |
com.google.protobuf.ByteString |
getCaBundle()
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
|
V1beta1Apiextensions.WebhookClientConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1beta1Apiextensions.ServiceReference |
getService()
service is a reference to the service for this webhook.
|
V1beta1Apiextensions.ServiceReference.Builder |
getServiceBuilder()
service is a reference to the service for this webhook.
|
V1beta1Apiextensions.ServiceReferenceOrBuilder |
getServiceOrBuilder()
service is a reference to the service for this webhook.
|
String |
getUrl()
url gives the location of the webhook, in standard URL form
(`scheme://host:port/path`).
|
com.google.protobuf.ByteString |
getUrlBytes()
url gives the location of the webhook, in standard URL form
(`scheme://host:port/path`).
|
boolean |
hasCaBundle()
caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
|
boolean |
hasService()
service is a reference to the service for this webhook.
|
boolean |
hasUrl()
url gives the location of the webhook, in standard URL form
(`scheme://host:port/path`).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.WebhookClientConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
mergeFrom(V1beta1Apiextensions.WebhookClientConfig other) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
mergeService(V1beta1Apiextensions.ServiceReference value)
service is a reference to the service for this webhook.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
setService(V1beta1Apiextensions.ServiceReference.Builder builderForValue)
service is a reference to the service for this webhook.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
setService(V1beta1Apiextensions.ServiceReference value)
service is a reference to the service for this webhook.
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.WebhookClientConfig.Builder |
setUrl(String value)
url gives the location of the webhook, in standard URL form
(`scheme://host:port/path`).
|
V1beta1Apiextensions.WebhookClientConfig.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
url gives the location of the webhook, in standard URL form
(`scheme://host:port/path`).
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.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.WebhookClientConfig.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.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.WebhookClientConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.WebhookClientConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.WebhookClientConfig.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.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.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.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.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.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.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.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.Builder mergeFrom(V1beta1Apiextensions.WebhookClientConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>public V1beta1Apiextensions.WebhookClientConfig.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.WebhookClientConfig.Builder>IOExceptionpublic 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.
+optional
optional string url = 3;hasUrl in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic String 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.
+optional
optional string url = 3;getUrl in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic 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.
+optional
optional string url = 3;getUrlBytes in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic V1beta1Apiextensions.WebhookClientConfig.Builder setUrl(String 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.
+optional
optional string url = 3;public V1beta1Apiextensions.WebhookClientConfig.Builder 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.
+optional
optional string url = 3;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.
+optional
optional string url = 3;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;
hasService in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic V1beta1Apiextensions.ServiceReference 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;
getService in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic 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;
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;
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;
public V1beta1Apiextensions.WebhookClientConfig.Builder 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;
public V1beta1Apiextensions.ServiceReference.Builder 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;
public V1beta1Apiextensions.ServiceReferenceOrBuilder 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;
getServiceOrBuilder in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic 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;hasCaBundle in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic 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;getCaBundle in interface V1beta1Apiextensions.WebhookClientConfigOrBuilderpublic 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;public V1beta1Apiextensions.WebhookClientConfig.Builder 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;public final V1beta1Apiextensions.WebhookClientConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>public final V1beta1Apiextensions.WebhookClientConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.WebhookClientConfig.Builder>Copyright © 2023. All rights reserved.