public static final class V1.TCPSocketAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder> implements V1.TCPSocketActionOrBuilder
TCPSocketAction describes an action based on opening a socketProtobuf type
k8s.io.api.core.v1.TCPSocketAction| Modifier and Type | Method and Description |
|---|---|
V1.TCPSocketAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.TCPSocketAction |
build() |
V1.TCPSocketAction |
buildPartial() |
V1.TCPSocketAction.Builder |
clear() |
V1.TCPSocketAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.TCPSocketAction.Builder |
clearHost()
Optional: Host name to connect to, defaults to the pod IP.
|
V1.TCPSocketAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.TCPSocketAction.Builder |
clearPort()
Number or name of the port to access on the container.
|
V1.TCPSocketAction.Builder |
clone() |
V1.TCPSocketAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
Optional: Host name to connect to, defaults to the pod IP.
|
com.google.protobuf.ByteString |
getHostBytes()
Optional: Host name to connect to, defaults to the pod IP.
|
IntStr.IntOrString |
getPort()
Number or name of the port to access on the container.
|
IntStr.IntOrString.Builder |
getPortBuilder()
Number or name of the port to access on the container.
|
IntStr.IntOrStringOrBuilder |
getPortOrBuilder()
Number or name of the port to access on the container.
|
boolean |
hasHost()
Optional: Host name to connect to, defaults to the pod IP.
|
boolean |
hasPort()
Number or name of the port to access on the container.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.TCPSocketAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.TCPSocketAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.TCPSocketAction.Builder |
mergeFrom(V1.TCPSocketAction other) |
V1.TCPSocketAction.Builder |
mergePort(IntStr.IntOrString value)
Number or name of the port to access on the container.
|
V1.TCPSocketAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.TCPSocketAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.TCPSocketAction.Builder |
setHost(String value)
Optional: Host name to connect to, defaults to the pod IP.
|
V1.TCPSocketAction.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Optional: Host name to connect to, defaults to the pod IP.
|
V1.TCPSocketAction.Builder |
setPort(IntStr.IntOrString.Builder builderForValue)
Number or name of the port to access on the container.
|
V1.TCPSocketAction.Builder |
setPort(IntStr.IntOrString value)
Number or name of the port to access on the container.
|
V1.TCPSocketAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.TCPSocketAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.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<V1.TCPSocketAction.Builder>public V1.TCPSocketAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.TCPSocketAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.TCPSocketAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.TCPSocketAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.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<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.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<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.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<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.Builder mergeFrom(V1.TCPSocketAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder>public V1.TCPSocketAction.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<V1.TCPSocketAction.Builder>IOExceptionpublic boolean hasPort()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;hasPort in interface V1.TCPSocketActionOrBuilderpublic IntStr.IntOrString getPort()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;getPort in interface V1.TCPSocketActionOrBuilderpublic V1.TCPSocketAction.Builder setPort(IntStr.IntOrString value)
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;public V1.TCPSocketAction.Builder setPort(IntStr.IntOrString.Builder builderForValue)
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;public V1.TCPSocketAction.Builder mergePort(IntStr.IntOrString value)
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;public V1.TCPSocketAction.Builder clearPort()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;public IntStr.IntOrString.Builder getPortBuilder()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;public IntStr.IntOrStringOrBuilder getPortOrBuilder()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;getPortOrBuilder in interface V1.TCPSocketActionOrBuilderpublic boolean hasHost()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;hasHost in interface V1.TCPSocketActionOrBuilderpublic String getHost()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;getHost in interface V1.TCPSocketActionOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;getHostBytes in interface V1.TCPSocketActionOrBuilderpublic V1.TCPSocketAction.Builder setHost(String value)
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;public V1.TCPSocketAction.Builder clearHost()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;public V1.TCPSocketAction.Builder setHostBytes(com.google.protobuf.ByteString value)
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;public final V1.TCPSocketAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder>public final V1.TCPSocketAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.TCPSocketAction.Builder>Copyright © 2018. All rights reserved.