public static final class GatewayOuterClass.Port.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder> implements GatewayOuterClass.PortOrBuilder
Port describes the properties of a specific port of a service.Protobuf type
istio.networking.v1alpha3.Port| 限定符和类型 | 方法和说明 |
|---|---|
GatewayOuterClass.Port.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GatewayOuterClass.Port |
build() |
GatewayOuterClass.Port |
buildPartial() |
GatewayOuterClass.Port.Builder |
clear() |
GatewayOuterClass.Port.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GatewayOuterClass.Port.Builder |
clearName()
Label assigned to the port.
|
GatewayOuterClass.Port.Builder |
clearNumber()
A valid non-negative integer port number.
|
GatewayOuterClass.Port.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GatewayOuterClass.Port.Builder |
clearProtocol()
The protocol exposed on the port.
|
GatewayOuterClass.Port.Builder |
clearTargetPort()
The port number on the endpoint where the traffic will be
received.
|
GatewayOuterClass.Port.Builder |
clone() |
GatewayOuterClass.Port |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GatewayOuterClass.Port.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GatewayOuterClass.Port.Builder |
mergeFrom(GatewayOuterClass.Port other) |
GatewayOuterClass.Port.Builder |
mergeFrom(com.google.protobuf.Message other) |
GatewayOuterClass.Port.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GatewayOuterClass.Port.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GatewayOuterClass.Port.Builder |
setName(String value)
Label assigned to the port.
|
GatewayOuterClass.Port.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Label assigned to the port.
|
GatewayOuterClass.Port.Builder |
setNumber(int value)
A valid non-negative integer port number.
|
GatewayOuterClass.Port.Builder |
setProtocol(String value)
The protocol exposed on the port.
|
GatewayOuterClass.Port.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
The protocol exposed on the port.
|
GatewayOuterClass.Port.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GatewayOuterClass.Port.Builder |
setTargetPort(int value)
The port number on the endpoint where the traffic will be
received.
|
GatewayOuterClass.Port.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic GatewayOuterClass.Port build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic GatewayOuterClass.Port buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic GatewayOuterClass.Port.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder mergeFrom(GatewayOuterClass.Port other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public GatewayOuterClass.Port.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.Port.Builder>IOExceptionpublic int getNumber()
A valid non-negative integer port number.
uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];getNumber 在接口中 GatewayOuterClass.PortOrBuilderpublic GatewayOuterClass.Port.Builder setNumber(int value)
A valid non-negative integer port number.
uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];value - The number to set.public GatewayOuterClass.Port.Builder clearNumber()
A valid non-negative integer port number.
uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];public 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];getProtocol 在接口中 GatewayOuterClass.PortOrBuilderpublic 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];getProtocolBytes 在接口中 GatewayOuterClass.PortOrBuilderpublic GatewayOuterClass.Port.Builder setProtocol(String value)
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];value - The protocol to set.public GatewayOuterClass.Port.Builder clearProtocol()
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];public GatewayOuterClass.Port.Builder setProtocolBytes(com.google.protobuf.ByteString value)
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];value - The bytes for protocol to set.public String getName()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];getName 在接口中 GatewayOuterClass.PortOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];getNameBytes 在接口中 GatewayOuterClass.PortOrBuilderpublic GatewayOuterClass.Port.Builder setName(String value)
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];value - The name to set.public GatewayOuterClass.Port.Builder clearName()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];public GatewayOuterClass.Port.Builder setNameBytes(com.google.protobuf.ByteString value)
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for name to set.public int getTargetPort()
The port number on the endpoint where the traffic will be received. Applicable only when used with ServiceEntries.
uint32 target_port = 4;getTargetPort 在接口中 GatewayOuterClass.PortOrBuilderpublic GatewayOuterClass.Port.Builder setTargetPort(int value)
The port number on the endpoint where the traffic will be received. Applicable only when used with ServiceEntries.
uint32 target_port = 4;value - The targetPort to set.public GatewayOuterClass.Port.Builder clearTargetPort()
The port number on the endpoint where the traffic will be received. Applicable only when used with ServiceEntries.
uint32 target_port = 4;public final GatewayOuterClass.Port.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>public final GatewayOuterClass.Port.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.Port.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.