public static interface V1.EndpointPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of this port (corresponds to ServicePort.Name).
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this port (corresponds to ServicePort.Name).
|
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.
|
boolean |
hasName()
The name of this port (corresponds to ServicePort.Name).
|
boolean |
hasPort()
The port number of the endpoint.
|
boolean |
hasProtocol()
The IP protocol for this port.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasName()
The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1;String getName()
The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1;boolean hasPort()
The port number of the endpoint.
optional int32 port = 2;int getPort()
The port number of the endpoint.
optional int32 port = 2;boolean hasProtocol()
The IP protocol for this port. Must be UDP or TCP. Default is TCP. +optional
optional string protocol = 3;String getProtocol()
The IP protocol for this port. Must be UDP or TCP. Default is TCP. +optional
optional string protocol = 3;com.google.protobuf.ByteString getProtocolBytes()
The IP protocol for this port. Must be UDP or TCP. Default is TCP. +optional
optional string protocol = 3;Copyright © 2018. All rights reserved.