public static final class GatewayOuterClass.Server extends com.google.protobuf.GeneratedMessageV3 implements GatewayOuterClass.ServerOrBuilder
`Server` describes the properties of the proxy on a given load balancer
port. For example,
{{<tabset category-name="example">}}
{{<tab name="v1alpha3" category-value="v1alpha3">}}
```yaml
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: my-ingress
spec:
selector:
app: my-ingressgateway
servers:
- port:
number: 80
name: http2
protocol: HTTP2
hosts:
- "*"
```
{{</tab>}}
{{<tab name="v1beta1" category-value="v1beta1">}}
```yaml
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: my-ingress
spec:
selector:
app: my-ingressgateway
servers:
- port:
number: 80
name: http2
protocol: HTTP2
hosts:
- "*"
```
{{</tab>}}
{{</tabset>}}
Another example
{{<tabset category-name="example">}}
{{<tab name="v1alpha3" category-value="v1alpha3">}}
```yaml
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: my-tcp-ingress
spec:
selector:
app: my-tcp-ingressgateway
servers:
- port:
number: 27018
name: mongo
protocol: MONGO
hosts:
- "*"
```
{{</tab>}}
{{<tab name="v1beta1" category-value="v1beta1">}}
```yaml
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: my-tcp-ingress
spec:
selector:
app: my-tcp-ingressgateway
servers:
- port:
number: 27018
name: mongo
protocol: MONGO
hosts:
- "*"
```
{{</tab>}}
{{</tabset>}}
The following is an example of TLS configuration for port 443
{{<tabset category-name="example">}}
{{<tab name="v1alpha3" category-value="v1alpha3">}}
```yaml
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: my-tls-ingress
spec:
selector:
app: my-tls-ingressgateway
servers:
- port:
number: 443
name: https
protocol: HTTPS
hosts:
- "*"
tls:
mode: SIMPLE
serverCertificate: /etc/certs/server.pem
privateKey: /etc/certs/privatekey.pem
```
{{</tab>}}
{{<tab name="v1beta1" category-value="v1beta1">}}
```yaml
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: my-tls-ingress
spec:
selector:
app: my-tls-ingressgateway
servers:
- port:
number: 443
name: https
protocol: HTTPS
hosts:
- "*"
tls:
mode: SIMPLE
serverCertificate: /etc/certs/server.pem
privateKey: /etc/certs/privatekey.pem
```
{{</tab>}}
{{</tabset>}}
Protobuf type istio.networking.v1alpha3.Server| 限定符和类型 | 类和说明 |
|---|---|
static class |
GatewayOuterClass.Server.Builder
`Server` describes the properties of the proxy on a given load balancer
port.
|
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 |
BIND_FIELD_NUMBER |
static int |
DEFAULT_ENDPOINT_FIELD_NUMBER |
static int |
HOSTS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
TLS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getBind()
$hide_from_docs
The ip or the Unix domain socket to which the listener should be bound
to.
|
com.google.protobuf.ByteString |
getBindBytes()
$hide_from_docs
The ip or the Unix domain socket to which the listener should be bound
to.
|
String |
getDefaultEndpoint()
The loopback IP endpoint or Unix domain socket to which traffic should
be forwarded to by default.
|
com.google.protobuf.ByteString |
getDefaultEndpointBytes()
The loopback IP endpoint or Unix domain socket to which traffic should
be forwarded to by default.
|
static GatewayOuterClass.Server |
getDefaultInstance() |
GatewayOuterClass.Server |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHosts(int index)
One or more hosts exposed by this gateway.
|
com.google.protobuf.ByteString |
getHostsBytes(int index)
One or more hosts exposed by this gateway.
|
int |
getHostsCount()
One or more hosts exposed by this gateway.
|
com.google.protobuf.ProtocolStringList |
getHostsList()
One or more hosts exposed by this gateway.
|
String |
getName()
An optional name of the server, when set must be unique across all servers.
|
com.google.protobuf.ByteString |
getNameBytes()
An optional name of the server, when set must be unique across all servers.
|
com.google.protobuf.Parser<GatewayOuterClass.Server> |
getParserForType() |
GatewayOuterClass.Port |
getPort()
The Port on which the proxy should listen for incoming
connections.
|
GatewayOuterClass.PortOrBuilder |
getPortOrBuilder()
The Port on which the proxy should listen for incoming
connections.
|
int |
getSerializedSize() |
GatewayOuterClass.ServerTLSSettings |
getTls()
Set of TLS related options that govern the server's behavior.
|
GatewayOuterClass.ServerTLSSettingsOrBuilder |
getTlsOrBuilder()
Set of TLS related options that govern the server's behavior.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPort()
The Port on which the proxy should listen for incoming
connections.
|
boolean |
hasTls()
Set of TLS related options that govern the server's behavior.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GatewayOuterClass.Server.Builder |
newBuilder() |
static GatewayOuterClass.Server.Builder |
newBuilder(GatewayOuterClass.Server prototype) |
GatewayOuterClass.Server.Builder |
newBuilderForType() |
protected GatewayOuterClass.Server.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GatewayOuterClass.Server |
parseDelimitedFrom(InputStream input) |
static GatewayOuterClass.Server |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Server |
parseFrom(byte[] data) |
static GatewayOuterClass.Server |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Server |
parseFrom(ByteBuffer data) |
static GatewayOuterClass.Server |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Server |
parseFrom(com.google.protobuf.ByteString data) |
static GatewayOuterClass.Server |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Server |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GatewayOuterClass.Server |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Server |
parseFrom(InputStream input) |
static GatewayOuterClass.Server |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GatewayOuterClass.Server> |
parser() |
GatewayOuterClass.Server.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, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PORT_FIELD_NUMBER
public static final int BIND_FIELD_NUMBER
public static final int HOSTS_FIELD_NUMBER
public static final int TLS_FIELD_NUMBER
public static final int DEFAULT_ENDPOINT_FIELD_NUMBER
public static final int NAME_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasPort()
The Port on which the proxy should listen for incoming connections.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];hasPort 在接口中 GatewayOuterClass.ServerOrBuilderpublic GatewayOuterClass.Port getPort()
The Port on which the proxy should listen for incoming connections.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];getPort 在接口中 GatewayOuterClass.ServerOrBuilderpublic GatewayOuterClass.PortOrBuilder getPortOrBuilder()
The Port on which the proxy should listen for incoming connections.
.istio.networking.v1alpha3.Port port = 1 [(.google.api.field_behavior) = REQUIRED];public String getBind()
$hide_from_docs The ip or the Unix domain socket to which the listener should be bound to. Format: `x.x.x.x` or `unix:///path/to/uds` or `unix://@foobar` (Linux abstract namespace). When using Unix domain sockets, the port number should be 0.
string bind = 4;getBind 在接口中 GatewayOuterClass.ServerOrBuilderpublic com.google.protobuf.ByteString getBindBytes()
$hide_from_docs The ip or the Unix domain socket to which the listener should be bound to. Format: `x.x.x.x` or `unix:///path/to/uds` or `unix://@foobar` (Linux abstract namespace). When using Unix domain sockets, the port number should be 0.
string bind = 4;getBindBytes 在接口中 GatewayOuterClass.ServerOrBuilderpublic com.google.protobuf.ProtocolStringList getHostsList()
One or more hosts exposed by this gateway. While typically applicable to HTTP services, it can also be used for TCP services using TLS with SNI. A host is specified as a `dnsName` with an optional `namespace/` prefix. The `dnsName` should be specified using FQDN format, optionally including a wildcard character in the left-most component (e.g., `prod/*.example.com`). Set the `dnsName` to `*` to select all `VirtualService` hosts from the specified namespace (e.g.,`prod/*`). The `namespace` can be set to `*` or `.`, representing any or the current namespace, respectively. For example, `*/foo.example.com` selects the service from any available namespace while `./foo.example.com` only selects the service from the namespace of the sidecar. The default, if no `namespace/` is specified, is `*/`, that is, select services from any namespace. Any associated `DestinationRule` in the selected namespace will also be used. A `VirtualService` must be bound to the gateway and must have one or more hosts that match the hosts specified in a server. The match could be an exact match or a suffix match with the server's hosts. For example, if the server's hosts specifies `*.example.com`, a `VirtualService` with hosts `dev.example.com` or `prod.example.com` will match. However, a `VirtualService` with host `example.com` or `newexample.com` will not match. NOTE: Only virtual services exported to the gateway's namespace (e.g., `exportTo` value of `*`) can be referenced. Private configurations (e.g., `exportTo` set to `.`) will not be available. Refer to the `exportTo` setting in `VirtualService`, `DestinationRule`, and `ServiceEntry` configurations for details.
repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];getHostsList 在接口中 GatewayOuterClass.ServerOrBuilderpublic int getHostsCount()
One or more hosts exposed by this gateway. While typically applicable to HTTP services, it can also be used for TCP services using TLS with SNI. A host is specified as a `dnsName` with an optional `namespace/` prefix. The `dnsName` should be specified using FQDN format, optionally including a wildcard character in the left-most component (e.g., `prod/*.example.com`). Set the `dnsName` to `*` to select all `VirtualService` hosts from the specified namespace (e.g.,`prod/*`). The `namespace` can be set to `*` or `.`, representing any or the current namespace, respectively. For example, `*/foo.example.com` selects the service from any available namespace while `./foo.example.com` only selects the service from the namespace of the sidecar. The default, if no `namespace/` is specified, is `*/`, that is, select services from any namespace. Any associated `DestinationRule` in the selected namespace will also be used. A `VirtualService` must be bound to the gateway and must have one or more hosts that match the hosts specified in a server. The match could be an exact match or a suffix match with the server's hosts. For example, if the server's hosts specifies `*.example.com`, a `VirtualService` with hosts `dev.example.com` or `prod.example.com` will match. However, a `VirtualService` with host `example.com` or `newexample.com` will not match. NOTE: Only virtual services exported to the gateway's namespace (e.g., `exportTo` value of `*`) can be referenced. Private configurations (e.g., `exportTo` set to `.`) will not be available. Refer to the `exportTo` setting in `VirtualService`, `DestinationRule`, and `ServiceEntry` configurations for details.
repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];getHostsCount 在接口中 GatewayOuterClass.ServerOrBuilderpublic String getHosts(int index)
One or more hosts exposed by this gateway. While typically applicable to HTTP services, it can also be used for TCP services using TLS with SNI. A host is specified as a `dnsName` with an optional `namespace/` prefix. The `dnsName` should be specified using FQDN format, optionally including a wildcard character in the left-most component (e.g., `prod/*.example.com`). Set the `dnsName` to `*` to select all `VirtualService` hosts from the specified namespace (e.g.,`prod/*`). The `namespace` can be set to `*` or `.`, representing any or the current namespace, respectively. For example, `*/foo.example.com` selects the service from any available namespace while `./foo.example.com` only selects the service from the namespace of the sidecar. The default, if no `namespace/` is specified, is `*/`, that is, select services from any namespace. Any associated `DestinationRule` in the selected namespace will also be used. A `VirtualService` must be bound to the gateway and must have one or more hosts that match the hosts specified in a server. The match could be an exact match or a suffix match with the server's hosts. For example, if the server's hosts specifies `*.example.com`, a `VirtualService` with hosts `dev.example.com` or `prod.example.com` will match. However, a `VirtualService` with host `example.com` or `newexample.com` will not match. NOTE: Only virtual services exported to the gateway's namespace (e.g., `exportTo` value of `*`) can be referenced. Private configurations (e.g., `exportTo` set to `.`) will not be available. Refer to the `exportTo` setting in `VirtualService`, `DestinationRule`, and `ServiceEntry` configurations for details.
repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];getHosts 在接口中 GatewayOuterClass.ServerOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHostsBytes(int index)
One or more hosts exposed by this gateway. While typically applicable to HTTP services, it can also be used for TCP services using TLS with SNI. A host is specified as a `dnsName` with an optional `namespace/` prefix. The `dnsName` should be specified using FQDN format, optionally including a wildcard character in the left-most component (e.g., `prod/*.example.com`). Set the `dnsName` to `*` to select all `VirtualService` hosts from the specified namespace (e.g.,`prod/*`). The `namespace` can be set to `*` or `.`, representing any or the current namespace, respectively. For example, `*/foo.example.com` selects the service from any available namespace while `./foo.example.com` only selects the service from the namespace of the sidecar. The default, if no `namespace/` is specified, is `*/`, that is, select services from any namespace. Any associated `DestinationRule` in the selected namespace will also be used. A `VirtualService` must be bound to the gateway and must have one or more hosts that match the hosts specified in a server. The match could be an exact match or a suffix match with the server's hosts. For example, if the server's hosts specifies `*.example.com`, a `VirtualService` with hosts `dev.example.com` or `prod.example.com` will match. However, a `VirtualService` with host `example.com` or `newexample.com` will not match. NOTE: Only virtual services exported to the gateway's namespace (e.g., `exportTo` value of `*`) can be referenced. Private configurations (e.g., `exportTo` set to `.`) will not be available. Refer to the `exportTo` setting in `VirtualService`, `DestinationRule`, and `ServiceEntry` configurations for details.
repeated string hosts = 2 [(.google.api.field_behavior) = REQUIRED];getHostsBytes 在接口中 GatewayOuterClass.ServerOrBuilderindex - The index of the value to return.public boolean hasTls()
Set of TLS related options that govern the server's behavior. Use these options to control if all http requests should be redirected to https, and the TLS modes to use.
.istio.networking.v1alpha3.ServerTLSSettings tls = 3;hasTls 在接口中 GatewayOuterClass.ServerOrBuilderpublic GatewayOuterClass.ServerTLSSettings getTls()
Set of TLS related options that govern the server's behavior. Use these options to control if all http requests should be redirected to https, and the TLS modes to use.
.istio.networking.v1alpha3.ServerTLSSettings tls = 3;getTls 在接口中 GatewayOuterClass.ServerOrBuilderpublic GatewayOuterClass.ServerTLSSettingsOrBuilder getTlsOrBuilder()
Set of TLS related options that govern the server's behavior. Use these options to control if all http requests should be redirected to https, and the TLS modes to use.
.istio.networking.v1alpha3.ServerTLSSettings tls = 3;public String getDefaultEndpoint()
The loopback IP endpoint or Unix domain socket to which traffic should be forwarded to by default. Format should be `127.0.0.1:PORT` or `unix:///path/to/socket` or `unix://@foobar` (Linux abstract namespace). NOT IMPLEMENTED. $hide_from_docs
string default_endpoint = 5;getDefaultEndpoint 在接口中 GatewayOuterClass.ServerOrBuilderpublic com.google.protobuf.ByteString getDefaultEndpointBytes()
The loopback IP endpoint or Unix domain socket to which traffic should be forwarded to by default. Format should be `127.0.0.1:PORT` or `unix:///path/to/socket` or `unix://@foobar` (Linux abstract namespace). NOT IMPLEMENTED. $hide_from_docs
string default_endpoint = 5;getDefaultEndpointBytes 在接口中 GatewayOuterClass.ServerOrBuilderpublic String getName()
An optional name of the server, when set must be unique across all servers. This will be used for variety of purposes like prefixing stats generated with this name etc.
string name = 6;getName 在接口中 GatewayOuterClass.ServerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
An optional name of the server, when set must be unique across all servers. This will be used for variety of purposes like prefixing stats generated with this name etc.
string name = 6;getNameBytes 在接口中 GatewayOuterClass.ServerOrBuilderpublic 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 GatewayOuterClass.Server parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Server parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Server parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Server parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Server parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Server parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Server parseFrom(InputStream input) throws IOException
IOExceptionpublic static GatewayOuterClass.Server parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GatewayOuterClass.Server parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GatewayOuterClass.Server parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GatewayOuterClass.Server parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GatewayOuterClass.Server parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GatewayOuterClass.Server.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static GatewayOuterClass.Server.Builder newBuilder()
public static GatewayOuterClass.Server.Builder newBuilder(GatewayOuterClass.Server prototype)
public GatewayOuterClass.Server.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected GatewayOuterClass.Server.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static GatewayOuterClass.Server getDefaultInstance()
public static com.google.protobuf.Parser<GatewayOuterClass.Server> parser()
public com.google.protobuf.Parser<GatewayOuterClass.Server> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public GatewayOuterClass.Server getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.