public static interface GatewayOuterClass.PortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
Label assigned to the port.
|
com.google.protobuf.ByteString |
getNameBytes()
Label assigned to the port.
|
int |
getNumber()
A valid non-negative integer port number.
|
String |
getProtocol()
The protocol exposed on the port.
|
com.google.protobuf.ByteString |
getProtocolBytes()
The protocol exposed on the port.
|
int |
getTargetPort()
The port number on the endpoint where the traffic will be
received.
|
int getNumber()
A valid non-negative integer port number.
uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];String getProtocol()
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 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getProtocolBytes()
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 [(.google.api.field_behavior) = REQUIRED];String getName()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];int getTargetPort()
The port number on the endpoint where the traffic will be received. Applicable only when used with ServiceEntries.
uint32 target_port = 4;Copyright © 2018–2023 Alibaba Group. All rights reserved.