public final class Gateway extends com.google.protobuf.GeneratedMessageV3 implements GatewayOrBuilder
Gateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections. <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->Protobuf type
istio.networking.v1alpha3.Gateway| 限定符和类型 | 类和说明 |
|---|---|
static class |
Gateway.Builder
Gateway describes a load balancer operating at the edge of the mesh
receiving incoming or outgoing HTTP/TCP connections.
|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
SELECTOR_FIELD_NUMBER |
static int |
SERVERS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsSelector(String key)
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
boolean |
equals(Object obj) |
static Gateway |
getDefaultInstance() |
Gateway |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Gateway> |
getParserForType() |
Map<String,String> |
getSelector()
已过时。
|
int |
getSelectorCount()
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
Map<String,String> |
getSelectorMap()
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
String |
getSelectorOrDefault(String key,
String defaultValue)
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
String |
getSelectorOrThrow(String key)
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
int |
getSerializedSize() |
Server |
getServers(int index)
REQUIRED: A list of server specifications.
|
int |
getServersCount()
REQUIRED: A list of server specifications.
|
List<Server> |
getServersList()
REQUIRED: A list of server specifications.
|
ServerOrBuilder |
getServersOrBuilder(int index)
REQUIRED: A list of server specifications.
|
List<? extends ServerOrBuilder> |
getServersOrBuilderList()
REQUIRED: A list of server specifications.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Gateway.Builder |
newBuilder() |
static Gateway.Builder |
newBuilder(Gateway prototype) |
Gateway.Builder |
newBuilderForType() |
protected Gateway.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gateway |
parseDelimitedFrom(InputStream input) |
static Gateway |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gateway |
parseFrom(byte[] data) |
static Gateway |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gateway |
parseFrom(ByteBuffer data) |
static Gateway |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gateway |
parseFrom(com.google.protobuf.ByteString data) |
static Gateway |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gateway |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Gateway |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Gateway |
parseFrom(InputStream input) |
static Gateway |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Gateway> |
parser() |
Gateway.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, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternalpublic static final int SERVERS_FIELD_NUMBER
public static final int SELECTOR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public List<Server> getServersList()
REQUIRED: A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1;getServersList 在接口中 GatewayOrBuilderpublic List<? extends ServerOrBuilder> getServersOrBuilderList()
REQUIRED: A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1;getServersOrBuilderList 在接口中 GatewayOrBuilderpublic int getServersCount()
REQUIRED: A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1;getServersCount 在接口中 GatewayOrBuilderpublic Server getServers(int index)
REQUIRED: A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1;getServers 在接口中 GatewayOrBuilderpublic ServerOrBuilder getServersOrBuilder(int index)
REQUIRED: A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1;getServersOrBuilder 在接口中 GatewayOrBuilderpublic int getSelectorCount()
GatewayOrBuilderREQUIRED: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance.
map<string, string> selector = 2;getSelectorCount 在接口中 GatewayOrBuilderpublic boolean containsSelector(String key)
REQUIRED: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance.
map<string, string> selector = 2;containsSelector 在接口中 GatewayOrBuilder@Deprecated public Map<String,String> getSelector()
getSelectorMap() instead.getSelector 在接口中 GatewayOrBuilderpublic Map<String,String> getSelectorMap()
REQUIRED: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance.
map<string, string> selector = 2;getSelectorMap 在接口中 GatewayOrBuilderpublic String getSelectorOrDefault(String key, String defaultValue)
REQUIRED: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance.
map<string, string> selector = 2;getSelectorOrDefault 在接口中 GatewayOrBuilderpublic String getSelectorOrThrow(String key)
REQUIRED: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance.
map<string, string> selector = 2;getSelectorOrThrow 在接口中 GatewayOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Gateway parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(InputStream input) throws IOException
IOExceptionpublic static Gateway parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gateway parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Gateway parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Gateway parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Gateway parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Gateway.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Gateway.Builder newBuilder()
public static Gateway.Builder newBuilder(Gateway prototype)
public Gateway.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Gateway.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Gateway getDefaultInstance()
public static com.google.protobuf.Parser<Gateway> parser()
public com.google.protobuf.Parser<Gateway> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Gateway getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2022 Alibaba Group. All rights reserved.