类 GatewayOuterClass.Gateway
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.networking.v1alpha3.GatewayOuterClass.Gateway
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.GatewayOrBuilder,java.io.Serializable
- 封闭类:
- GatewayOuterClass
public static final class GatewayOuterClass.Gateway extends com.google.protobuf.GeneratedMessageV3 implements GatewayOuterClass.GatewayOrBuilder
Gateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections. <!-- crd generation tags +cue-gen:Gateway:groupName:networking.istio.io +cue-gen:Gateway:version:v1alpha3 +cue-gen:Gateway:storageVersion +cue-gen:Gateway:annotations:helm.sh/resource-policy=keep +cue-gen:Gateway:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:Gateway:subresource:status +cue-gen:Gateway:scope:Namespaced +cue-gen:Gateway:resource:categories=istio-io,networking-istio-io,shortNames=gw +cue-gen:Gateway:preserveUnknownFields:false --> <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->
Protobuf typeistio.networking.v1alpha3.Gateway- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classGatewayOuterClass.Gateway.BuilderGateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections.private static classGatewayOuterClass.Gateway.SelectorDefaultEntryHolder-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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 GatewayOuterClass.GatewayDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<GatewayOuterClass.Gateway>PARSERprivate com.google.protobuf.MapField<java.lang.String,java.lang.String>selector_static intSELECTOR_FIELD_NUMBERprivate static longserialVersionUIDprivate java.util.List<GatewayOuterClass.Server>servers_static intSERVERS_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsSelector(java.lang.String key)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.booleanequals(java.lang.Object obj)static GatewayOuterClass.GatewaygetDefaultInstance()GatewayOuterClass.GatewaygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<GatewayOuterClass.Gateway>getParserForType()java.util.Map<java.lang.String,java.lang.String>getSelector()已过时。intgetSelectorCount()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()One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.java.lang.StringgetSelectorOrDefault(java.lang.String key, java.lang.String defaultValue)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.java.lang.StringgetSelectorOrThrow(java.lang.String key)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.intgetSerializedSize()GatewayOuterClass.ServergetServers(int index)A list of server specifications.intgetServersCount()A list of server specifications.java.util.List<GatewayOuterClass.Server>getServersList()A list of server specifications.GatewayOuterClass.ServerOrBuildergetServersOrBuilder(int index)A list of server specifications.java.util.List<? extends GatewayOuterClass.ServerOrBuilder>getServersOrBuilderList()A list of server specifications.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetSelector()booleanisInitialized()static GatewayOuterClass.Gateway.BuildernewBuilder()static GatewayOuterClass.Gateway.BuildernewBuilder(GatewayOuterClass.Gateway prototype)GatewayOuterClass.Gateway.BuildernewBuilderForType()protected GatewayOuterClass.Gateway.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GatewayOuterClass.GatewayparseDelimitedFrom(java.io.InputStream input)static GatewayOuterClass.GatewayparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.GatewayparseFrom(byte[] data)static GatewayOuterClass.GatewayparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.GatewayparseFrom(com.google.protobuf.ByteString data)static GatewayOuterClass.GatewayparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.GatewayparseFrom(com.google.protobuf.CodedInputStream input)static GatewayOuterClass.GatewayparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.GatewayparseFrom(java.io.InputStream input)static GatewayOuterClass.GatewayparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.GatewayparseFrom(java.nio.ByteBuffer data)static GatewayOuterClass.GatewayparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GatewayOuterClass.Gateway>parser()GatewayOuterClass.Gateway.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
SERVERS_FIELD_NUMBER
public static final int SERVERS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
servers_
private java.util.List<GatewayOuterClass.Server> servers_
-
SELECTOR_FIELD_NUMBER
public static final int SELECTOR_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
selector_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> selector_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final GatewayOuterClass.Gateway DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<GatewayOuterClass.Gateway> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getServersList
public java.util.List<GatewayOuterClass.Server> getServersList()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServersOrBuilderList
public java.util.List<? extends GatewayOuterClass.ServerOrBuilder> getServersOrBuilderList()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServersCount
public int getServersCount()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServers
public GatewayOuterClass.Server getServers(int index)
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getServers在接口中GatewayOuterClass.GatewayOrBuilder
-
getServersOrBuilder
public GatewayOuterClass.ServerOrBuilder getServersOrBuilder(int index)
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
internalGetSelector
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetSelector()
-
getSelectorCount
public int getSelectorCount()
从接口复制的说明:GatewayOuterClass.GatewayOrBuilderOne or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, 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. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
-
containsSelector
public boolean containsSelector(java.lang.String key)
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, 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. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
-
getSelector
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSelector()
已过时。UsegetSelectorMap()instead.
-
getSelectorMap
public java.util.Map<java.lang.String,java.lang.String> getSelectorMap()
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, 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. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
-
getSelectorOrDefault
public java.lang.String getSelectorOrDefault(java.lang.String key, java.lang.String defaultValue)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, 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. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
-
getSelectorOrThrow
public java.lang.String getSelectorOrThrow(java.lang.String key)
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, 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. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static GatewayOuterClass.Gateway parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static GatewayOuterClass.Gateway parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static GatewayOuterClass.Gateway parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public GatewayOuterClass.Gateway.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static GatewayOuterClass.Gateway.Builder newBuilder()
-
newBuilder
public static GatewayOuterClass.Gateway.Builder newBuilder(GatewayOuterClass.Gateway prototype)
-
toBuilder
public GatewayOuterClass.Gateway.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected GatewayOuterClass.Gateway.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GatewayOuterClass.Gateway getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GatewayOuterClass.Gateway> parser()
-
getParserForType
public com.google.protobuf.Parser<GatewayOuterClass.Gateway> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GatewayOuterClass.Gateway getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-