public static final class V1beta1Apiextensions.ServiceReference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ServiceReference.Builder> implements V1beta1Apiextensions.ServiceReferenceOrBuilder
ServiceReference holds a reference to Service.legacy.k8s.ioProtobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.ServiceReference.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.ServiceReference |
build() |
V1beta1Apiextensions.ServiceReference |
buildPartial() |
V1beta1Apiextensions.ServiceReference.Builder |
clear() |
V1beta1Apiextensions.ServiceReference.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.ServiceReference.Builder |
clearName()
name is the name of the service.
|
V1beta1Apiextensions.ServiceReference.Builder |
clearNamespace()
namespace is the namespace of the service.
|
V1beta1Apiextensions.ServiceReference.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.ServiceReference.Builder |
clearPath()
path is an optional URL path at which the webhook will be contacted.
|
V1beta1Apiextensions.ServiceReference.Builder |
clearPort()
port is an optional service port at which the webhook will be contacted.
|
V1beta1Apiextensions.ServiceReference.Builder |
clone() |
V1beta1Apiextensions.ServiceReference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
name is the name of the service.
|
com.google.protobuf.ByteString |
getNameBytes()
name is the name of the service.
|
String |
getNamespace()
namespace is the namespace of the service.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
namespace is the namespace of the service.
|
String |
getPath()
path is an optional URL path at which the webhook will be contacted.
|
com.google.protobuf.ByteString |
getPathBytes()
path is an optional URL path at which the webhook will be contacted.
|
int |
getPort()
port is an optional service port at which the webhook will be contacted.
|
boolean |
hasName()
name is the name of the service.
|
boolean |
hasNamespace()
namespace is the namespace of the service.
|
boolean |
hasPath()
path is an optional URL path at which the webhook will be contacted.
|
boolean |
hasPort()
port is an optional service port at which the webhook will be contacted.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.ServiceReference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.ServiceReference.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.ServiceReference.Builder |
mergeFrom(V1beta1Apiextensions.ServiceReference other) |
V1beta1Apiextensions.ServiceReference.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.ServiceReference.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.ServiceReference.Builder |
setName(String value)
name is the name of the service.
|
V1beta1Apiextensions.ServiceReference.Builder |
setNameBytes(com.google.protobuf.ByteString value)
name is the name of the service.
|
V1beta1Apiextensions.ServiceReference.Builder |
setNamespace(String value)
namespace is the namespace of the service.
|
V1beta1Apiextensions.ServiceReference.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
namespace is the namespace of the service.
|
V1beta1Apiextensions.ServiceReference.Builder |
setPath(String value)
path is an optional URL path at which the webhook will be contacted.
|
V1beta1Apiextensions.ServiceReference.Builder |
setPathBytes(com.google.protobuf.ByteString value)
path is an optional URL path at which the webhook will be contacted.
|
V1beta1Apiextensions.ServiceReference.Builder |
setPort(int value)
port is an optional service port at which the webhook will be contacted.
|
V1beta1Apiextensions.ServiceReference.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.ServiceReference.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.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.ServiceReference.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.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.ServiceReference build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.ServiceReference buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.ServiceReference.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.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.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.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.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.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.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.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.Builder mergeFrom(V1beta1Apiextensions.ServiceReference other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ServiceReference.Builder>public V1beta1Apiextensions.ServiceReference.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.ServiceReference.Builder>IOExceptionpublic boolean hasNamespace()
namespace is the namespace of the service. Required
optional string namespace = 1;hasNamespace in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic String getNamespace()
namespace is the namespace of the service. Required
optional string namespace = 1;getNamespace in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
namespace is the namespace of the service. Required
optional string namespace = 1;getNamespaceBytes in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic V1beta1Apiextensions.ServiceReference.Builder setNamespace(String value)
namespace is the namespace of the service. Required
optional string namespace = 1;public V1beta1Apiextensions.ServiceReference.Builder clearNamespace()
namespace is the namespace of the service. Required
optional string namespace = 1;public V1beta1Apiextensions.ServiceReference.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
namespace is the namespace of the service. Required
optional string namespace = 1;public boolean hasName()
name is the name of the service. Required
optional string name = 2;hasName in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic String getName()
name is the name of the service. Required
optional string name = 2;getName in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
name is the name of the service. Required
optional string name = 2;getNameBytes in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic V1beta1Apiextensions.ServiceReference.Builder setName(String value)
name is the name of the service. Required
optional string name = 2;public V1beta1Apiextensions.ServiceReference.Builder clearName()
name is the name of the service. Required
optional string name = 2;public V1beta1Apiextensions.ServiceReference.Builder setNameBytes(com.google.protobuf.ByteString value)
name is the name of the service. Required
optional string name = 2;public boolean hasPath()
path is an optional URL path at which the webhook will be contacted. +optional
optional string path = 3;hasPath in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic String getPath()
path is an optional URL path at which the webhook will be contacted. +optional
optional string path = 3;getPath in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
path is an optional URL path at which the webhook will be contacted. +optional
optional string path = 3;getPathBytes in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic V1beta1Apiextensions.ServiceReference.Builder setPath(String value)
path is an optional URL path at which the webhook will be contacted. +optional
optional string path = 3;public V1beta1Apiextensions.ServiceReference.Builder clearPath()
path is an optional URL path at which the webhook will be contacted. +optional
optional string path = 3;public V1beta1Apiextensions.ServiceReference.Builder setPathBytes(com.google.protobuf.ByteString value)
path is an optional URL path at which the webhook will be contacted. +optional
optional string path = 3;public boolean hasPort()
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. +optional
optional int32 port = 4;hasPort in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic int getPort()
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. +optional
optional int32 port = 4;getPort in interface V1beta1Apiextensions.ServiceReferenceOrBuilderpublic V1beta1Apiextensions.ServiceReference.Builder setPort(int value)
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. +optional
optional int32 port = 4;public V1beta1Apiextensions.ServiceReference.Builder clearPort()
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. +optional
optional int32 port = 4;public final V1beta1Apiextensions.ServiceReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ServiceReference.Builder>public final V1beta1Apiextensions.ServiceReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.ServiceReference.Builder>Copyright © 2023. All rights reserved.