public interface PortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getName()
Label assigned to the port.
|
com.google.protobuf.ByteString |
getNameBytes()
Label assigned to the port.
|
int |
getNumber()
REQUIRED: A valid non-negative integer port number.
|
java.lang.String |
getProtocol()
REQUIRED: The protocol exposed on the port.
|
com.google.protobuf.ByteString |
getProtocolBytes()
REQUIRED: The protocol exposed on the port.
|
int getNumber()
REQUIRED: A valid non-negative integer port number.
uint32 number = 1;java.lang.String getProtocol()
REQUIRED: The protocol exposed on the port. MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS. TLS implies the connection will be routed based on the SNI header to the destination without terminating the TLS connection.
string protocol = 2;com.google.protobuf.ByteString getProtocolBytes()
REQUIRED: The protocol exposed on the port. MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS. TLS implies the connection will be routed based on the SNI header to the destination without terminating the TLS connection.
string protocol = 2;java.lang.String getName()
Label assigned to the port.
string name = 3;com.google.protobuf.ByteString getNameBytes()
Label assigned to the port.
string name = 3;Copyright © 2018–2020 Alibaba Group. All rights reserved.