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.
|
private static class |
Gateway.SelectorDefaultEntryHolder |
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| 限定符和类型 | 字段和说明 |
|---|---|
private static Gateway |
DEFAULT_INSTANCE |
private byte |
memoizedIsInitialized |
private static com.google.protobuf.Parser<Gateway> |
PARSER |
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
selector_ |
static int |
SELECTOR_FIELD_NUMBER |
private static long |
serialVersionUID |
private java.util.List<Server> |
servers_ |
static int |
SERVERS_FIELD_NUMBER |
| 限定符 | 构造器和说明 |
|---|---|
private |
Gateway() |
private |
Gateway(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
Gateway(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsSelector(java.lang.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(java.lang.Object obj) |
static Gateway |
getDefaultInstance() |
Gateway |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Gateway> |
getParserForType() |
java.util.Map<java.lang.String,java.lang.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.
|
java.util.Map<java.lang.String,java.lang.String> |
getSelectorMap()
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
java.lang.String |
getSelectorOrDefault(java.lang.String key,
java.lang.String defaultValue)
REQUIRED: One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
java.lang.String |
getSelectorOrThrow(java.lang.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.
|
java.util.List<Server> |
getServersList()
REQUIRED: A list of server specifications.
|
ServerOrBuilder |
getServersOrBuilder(int index)
REQUIRED: A list of server specifications.
|
java.util.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) |
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
internalGetSelector() |
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 java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Gateway |
parseDelimitedFrom(java.io.InputStream input) |
static Gateway |
parseDelimitedFrom(java.io.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(java.nio.ByteBuffer data) |
static Gateway |
parseFrom(java.nio.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(java.io.InputStream input) |
static Gateway |
parseFrom(java.io.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, writeToInternalprivate static final long serialVersionUID
public static final int SERVERS_FIELD_NUMBER
private java.util.List<Server> servers_
public static final int SELECTOR_FIELD_NUMBER
private com.google.protobuf.MapField<java.lang.String,java.lang.String> selector_
private byte memoizedIsInitialized
private static final Gateway DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<Gateway> PARSER
private Gateway(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
private Gateway()
private Gateway(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionprotected java.lang.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 java.util.List<Server> getServersList()
REQUIRED: A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1;getServersList 在接口中 GatewayOrBuilderpublic java.util.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 在接口中 GatewayOrBuilderprivate com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetSelector()
public 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(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getSelector()
getSelectorMap() instead.getSelector 在接口中 GatewayOrBuilderpublic java.util.Map<java.lang.String,java.lang.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 java.lang.String getSelectorOrDefault(java.lang.String key,
java.lang.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 java.lang.String getSelectorOrThrow(java.lang.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 java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Gateway parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Gateway parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Gateway parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Gateway parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Gateway parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Gateway parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.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–2020 Alibaba Group. All rights reserved.