public static final class V1.EndpointPort extends com.google.protobuf.GeneratedMessageV3 implements V1.EndpointPortOrBuilder
EndpointPort is a tuple that describes a single port. +structType=atomicProtobuf type
k8s.io.api.core.v1.EndpointPort| Modifier and Type | Class and Description |
|---|---|
static class |
V1.EndpointPort.Builder
EndpointPort is a tuple that describes a single port.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APPPROTOCOL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.EndpointPort> |
PARSER
Deprecated.
|
static int |
PORT_FIELD_NUMBER |
static int |
PROTOCOL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAppProtocol()
The application protocol for this port.
|
com.google.protobuf.ByteString |
getAppProtocolBytes()
The application protocol for this port.
|
static V1.EndpointPort |
getDefaultInstance() |
V1.EndpointPort |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
The name of this port.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this port.
|
com.google.protobuf.Parser<V1.EndpointPort> |
getParserForType() |
int |
getPort()
The port number of the endpoint.
|
String |
getProtocol()
The IP protocol for this port.
|
com.google.protobuf.ByteString |
getProtocolBytes()
The IP protocol for this port.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAppProtocol()
The application protocol for this port.
|
int |
hashCode() |
boolean |
hasName()
The name of this port.
|
boolean |
hasPort()
The port number of the endpoint.
|
boolean |
hasProtocol()
The IP protocol for this port.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.EndpointPort.Builder |
newBuilder() |
static V1.EndpointPort.Builder |
newBuilder(V1.EndpointPort prototype) |
V1.EndpointPort.Builder |
newBuilderForType() |
protected V1.EndpointPort.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.EndpointPort |
parseDelimitedFrom(InputStream input) |
static V1.EndpointPort |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointPort |
parseFrom(byte[] data) |
static V1.EndpointPort |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointPort |
parseFrom(ByteBuffer data) |
static V1.EndpointPort |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointPort |
parseFrom(com.google.protobuf.ByteString data) |
static V1.EndpointPort |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointPort |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.EndpointPort |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EndpointPort |
parseFrom(InputStream input) |
static V1.EndpointPort |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.EndpointPort> |
parser() |
V1.EndpointPort.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
public static final int APPPROTOCOL_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.EndpointPort> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasName()
The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1;hasName in interface V1.EndpointPortOrBuilderpublic String getName()
The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1;getName in interface V1.EndpointPortOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1;getNameBytes in interface V1.EndpointPortOrBuilderpublic boolean hasPort()
The port number of the endpoint.
optional int32 port = 2;hasPort in interface V1.EndpointPortOrBuilderpublic int getPort()
The port number of the endpoint.
optional int32 port = 2;getPort in interface V1.EndpointPortOrBuilderpublic boolean hasProtocol()
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3;hasProtocol in interface V1.EndpointPortOrBuilderpublic String getProtocol()
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3;getProtocol in interface V1.EndpointPortOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3;getProtocolBytes in interface V1.EndpointPortOrBuilderpublic boolean hasAppProtocol()
The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. +optional
optional string appProtocol = 4;hasAppProtocol in interface V1.EndpointPortOrBuilderpublic String getAppProtocol()
The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. +optional
optional string appProtocol = 4;getAppProtocol in interface V1.EndpointPortOrBuilderpublic com.google.protobuf.ByteString getAppProtocolBytes()
The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. +optional
optional string appProtocol = 4;getAppProtocolBytes in interface V1.EndpointPortOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.EndpointPort parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EndpointPort parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EndpointPort parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EndpointPort parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EndpointPort parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EndpointPort parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EndpointPort parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.EndpointPort parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.EndpointPort parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.EndpointPort parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.EndpointPort parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.EndpointPort parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.EndpointPort.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.EndpointPort.Builder newBuilder()
public static V1.EndpointPort.Builder newBuilder(V1.EndpointPort prototype)
public V1.EndpointPort.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.EndpointPort.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.EndpointPort getDefaultInstance()
public static com.google.protobuf.Parser<V1.EndpointPort> parser()
public com.google.protobuf.Parser<V1.EndpointPort> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.EndpointPort getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.