类 VirtualServiceOuterClass.CorsPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.networking.v1alpha3.VirtualServiceOuterClass.CorsPolicy
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.CorsPolicyOrBuilder,Serializable
public static final class VirtualServiceOuterClass.CorsPolicy
extends com.google.protobuf.GeneratedMessageV3
implements VirtualServiceOuterClass.CorsPolicyOrBuilder
Describes the Cross-Origin Resource Sharing (CORS) policy, for a given
service. Refer to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
for further details about cross origin resource sharing. For example,
the following rule restricts cross origin requests to those originating
from example.com domain using HTTP POST/GET, and sets the
`Access-Control-Allow-Credentials` header to false. In addition, it only
exposes `X-Foo-bar` header and sets an expiry period of 1 day.
{{<tabset category-name="example">}}
{{<tab name="v1alpha3" category-value="v1alpha3">}}
```yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: ratings-route
spec:
hosts:
- ratings.prod.svc.cluster.local
http:
- route:
- destination:
host: ratings.prod.svc.cluster.local
subset: v1
corsPolicy:
allowOrigins:
- exact: https://example.com
allowMethods:
- POST
- GET
allowCredentials: false
allowHeaders:
- X-Foo-Bar
maxAge: "24h"
```
{{</tab>}}
{{<tab name="v1beta1" category-value="v1beta1">}}
```yaml
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: ratings-route
spec:
hosts:
- ratings.prod.svc.cluster.local
http:
- route:
- destination:
host: ratings.prod.svc.cluster.local
subset: v1
corsPolicy:
allowOrigins:
- exact: https://example.com
allowMethods:
- POST
- GET
allowCredentials: false
allowHeaders:
- X-Foo-Bar
maxAge: "24h"
```
{{</tab>}}
{{</tabset>}}
Protobuf type istio.networking.v1alpha3.CorsPolicy- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classDescribes the Cross-Origin Resource Sharing (CORS) policy, for a given service.从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleancom.google.protobuf.BoolValueIndicates whether the caller is allowed to send the actual request (not the preflight) using credentials.com.google.protobuf.BoolValueOrBuilderIndicates whether the caller is allowed to send the actual request (not the preflight) using credentials.getAllowHeaders(int index) List of HTTP headers that can be used when requesting the resource.com.google.protobuf.ByteStringgetAllowHeadersBytes(int index) List of HTTP headers that can be used when requesting the resource.intList of HTTP headers that can be used when requesting the resource.com.google.protobuf.ProtocolStringListList of HTTP headers that can be used when requesting the resource.getAllowMethods(int index) List of HTTP methods allowed to access the resource.com.google.protobuf.ByteStringgetAllowMethodsBytes(int index) List of HTTP methods allowed to access the resource.intList of HTTP methods allowed to access the resource.com.google.protobuf.ProtocolStringListList of HTTP methods allowed to access the resource.getAllowOrigin(int index) 已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated.com.google.protobuf.ByteStringgetAllowOriginBytes(int index) 已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated.int已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated.com.google.protobuf.ProtocolStringList已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated.getAllowOrigins(int index) String patterns that match allowed origins.intString patterns that match allowed origins.String patterns that match allowed origins.getAllowOriginsOrBuilder(int index) String patterns that match allowed origins.String patterns that match allowed origins.static final com.google.protobuf.Descriptors.DescriptorgetExposeHeaders(int index) A list of HTTP headers that the browsers are allowed to access.com.google.protobuf.ByteStringgetExposeHeadersBytes(int index) A list of HTTP headers that the browsers are allowed to access.intA list of HTTP headers that the browsers are allowed to access.com.google.protobuf.ProtocolStringListA list of HTTP headers that the browsers are allowed to access.com.google.protobuf.DurationSpecifies how long the results of a preflight request can be cached.com.google.protobuf.DurationOrBuilderSpecifies how long the results of a preflight request can be cached.com.google.protobuf.Parser<VirtualServiceOuterClass.CorsPolicy> intbooleanIndicates whether the caller is allowed to send the actual request (not the preflight) using credentials.inthashCode()booleanSpecifies how long the results of a preflight request can be cached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(VirtualServiceOuterClass.CorsPolicy prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VirtualServiceOuterClass.CorsPolicy> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
字段详细资料
-
ALLOW_ORIGIN_FIELD_NUMBER
public static final int ALLOW_ORIGIN_FIELD_NUMBER- 另请参阅:
-
ALLOW_ORIGINS_FIELD_NUMBER
public static final int ALLOW_ORIGINS_FIELD_NUMBER- 另请参阅:
-
ALLOW_METHODS_FIELD_NUMBER
public static final int ALLOW_METHODS_FIELD_NUMBER- 另请参阅:
-
ALLOW_HEADERS_FIELD_NUMBER
public static final int ALLOW_HEADERS_FIELD_NUMBER- 另请参阅:
-
EXPOSE_HEADERS_FIELD_NUMBER
public static final int EXPOSE_HEADERS_FIELD_NUMBER- 另请参阅:
-
MAX_AGE_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER- 另请参阅:
-
ALLOW_CREDENTIALS_FIELD_NUMBER
public static final int ALLOW_CREDENTIALS_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getAllowOriginList
已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated. See networking/v1alpha3/virtual_service.proto;l=1632The list of origins that are allowed to perform CORS requests. The content will be serialized into the Access-Control-Allow-Origin header. Wildcard * will allow all origins. $hide_from_docs
repeated string allow_origin = 1 [deprecated = true];- 指定者:
getAllowOriginList在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- A list containing the allowOrigin.
-
getAllowOriginCount
已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated. See networking/v1alpha3/virtual_service.proto;l=1632The list of origins that are allowed to perform CORS requests. The content will be serialized into the Access-Control-Allow-Origin header. Wildcard * will allow all origins. $hide_from_docs
repeated string allow_origin = 1 [deprecated = true];- 指定者:
getAllowOriginCount在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- The count of allowOrigin.
-
getAllowOrigin
已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated. See networking/v1alpha3/virtual_service.proto;l=1632The list of origins that are allowed to perform CORS requests. The content will be serialized into the Access-Control-Allow-Origin header. Wildcard * will allow all origins. $hide_from_docs
repeated string allow_origin = 1 [deprecated = true];- 指定者:
getAllowOrigin在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The allowOrigin at the given index.
-
getAllowOriginBytes
已过时。istio.networking.v1alpha3.CorsPolicy.allow_origin is deprecated. See networking/v1alpha3/virtual_service.proto;l=1632The list of origins that are allowed to perform CORS requests. The content will be serialized into the Access-Control-Allow-Origin header. Wildcard * will allow all origins. $hide_from_docs
repeated string allow_origin = 1 [deprecated = true];- 指定者:
getAllowOriginBytes在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the allowOrigin at the given index.
-
getAllowOriginsList
String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.
repeated .istio.networking.v1alpha3.StringMatch allow_origins = 7; -
getAllowOriginsOrBuilderList
String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.
repeated .istio.networking.v1alpha3.StringMatch allow_origins = 7; -
getAllowOriginsCount
public int getAllowOriginsCount()String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.
repeated .istio.networking.v1alpha3.StringMatch allow_origins = 7; -
getAllowOrigins
String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.
repeated .istio.networking.v1alpha3.StringMatch allow_origins = 7; -
getAllowOriginsOrBuilder
String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.
repeated .istio.networking.v1alpha3.StringMatch allow_origins = 7; -
getAllowMethodsList
public com.google.protobuf.ProtocolStringList getAllowMethodsList()List of HTTP methods allowed to access the resource. The content will be serialized into the Access-Control-Allow-Methods header.
repeated string allow_methods = 2;- 指定者:
getAllowMethodsList在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- A list containing the allowMethods.
-
getAllowMethodsCount
public int getAllowMethodsCount()List of HTTP methods allowed to access the resource. The content will be serialized into the Access-Control-Allow-Methods header.
repeated string allow_methods = 2;- 指定者:
getAllowMethodsCount在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- The count of allowMethods.
-
getAllowMethods
List of HTTP methods allowed to access the resource. The content will be serialized into the Access-Control-Allow-Methods header.
repeated string allow_methods = 2;- 指定者:
getAllowMethods在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The allowMethods at the given index.
-
getAllowMethodsBytes
public com.google.protobuf.ByteString getAllowMethodsBytes(int index) List of HTTP methods allowed to access the resource. The content will be serialized into the Access-Control-Allow-Methods header.
repeated string allow_methods = 2;- 指定者:
getAllowMethodsBytes在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the allowMethods at the given index.
-
getAllowHeadersList
public com.google.protobuf.ProtocolStringList getAllowHeadersList()List of HTTP headers that can be used when requesting the resource. Serialized to Access-Control-Allow-Headers header.
repeated string allow_headers = 3;- 指定者:
getAllowHeadersList在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- A list containing the allowHeaders.
-
getAllowHeadersCount
public int getAllowHeadersCount()List of HTTP headers that can be used when requesting the resource. Serialized to Access-Control-Allow-Headers header.
repeated string allow_headers = 3;- 指定者:
getAllowHeadersCount在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- The count of allowHeaders.
-
getAllowHeaders
List of HTTP headers that can be used when requesting the resource. Serialized to Access-Control-Allow-Headers header.
repeated string allow_headers = 3;- 指定者:
getAllowHeaders在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The allowHeaders at the given index.
-
getAllowHeadersBytes
public com.google.protobuf.ByteString getAllowHeadersBytes(int index) List of HTTP headers that can be used when requesting the resource. Serialized to Access-Control-Allow-Headers header.
repeated string allow_headers = 3;- 指定者:
getAllowHeadersBytes在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the allowHeaders at the given index.
-
getExposeHeadersList
public com.google.protobuf.ProtocolStringList getExposeHeadersList()A list of HTTP headers that the browsers are allowed to access. Serialized into Access-Control-Expose-Headers header.
repeated string expose_headers = 4;- 指定者:
getExposeHeadersList在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- A list containing the exposeHeaders.
-
getExposeHeadersCount
public int getExposeHeadersCount()A list of HTTP headers that the browsers are allowed to access. Serialized into Access-Control-Expose-Headers header.
repeated string expose_headers = 4;- 指定者:
getExposeHeadersCount在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- The count of exposeHeaders.
-
getExposeHeaders
A list of HTTP headers that the browsers are allowed to access. Serialized into Access-Control-Expose-Headers header.
repeated string expose_headers = 4;- 指定者:
getExposeHeaders在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The exposeHeaders at the given index.
-
getExposeHeadersBytes
public com.google.protobuf.ByteString getExposeHeadersBytes(int index) A list of HTTP headers that the browsers are allowed to access. Serialized into Access-Control-Expose-Headers header.
repeated string expose_headers = 4;- 指定者:
getExposeHeadersBytes在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the exposeHeaders at the given index.
-
hasMaxAge
public boolean hasMaxAge()Specifies how long the results of a preflight request can be cached. Translates to the `Access-Control-Max-Age` header.
.google.protobuf.Duration max_age = 5;- 指定者:
hasMaxAge在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- Whether the maxAge field is set.
-
getMaxAge
public com.google.protobuf.Duration getMaxAge()Specifies how long the results of a preflight request can be cached. Translates to the `Access-Control-Max-Age` header.
.google.protobuf.Duration max_age = 5;- 指定者:
getMaxAge在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- The maxAge.
-
getMaxAgeOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder()Specifies how long the results of a preflight request can be cached. Translates to the `Access-Control-Max-Age` header.
.google.protobuf.Duration max_age = 5; -
hasAllowCredentials
public boolean hasAllowCredentials()Indicates whether the caller is allowed to send the actual request (not the preflight) using credentials. Translates to `Access-Control-Allow-Credentials` header.
.google.protobuf.BoolValue allow_credentials = 6;- 指定者:
hasAllowCredentials在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- Whether the allowCredentials field is set.
-
getAllowCredentials
public com.google.protobuf.BoolValue getAllowCredentials()Indicates whether the caller is allowed to send the actual request (not the preflight) using credentials. Translates to `Access-Control-Allow-Credentials` header.
.google.protobuf.BoolValue allow_credentials = 6;- 指定者:
getAllowCredentials在接口中VirtualServiceOuterClass.CorsPolicyOrBuilder- 返回:
- The allowCredentials.
-
getAllowCredentialsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getAllowCredentialsOrBuilder()Indicates whether the caller is allowed to send the actual request (not the preflight) using credentials. Translates to `Access-Control-Allow-Credentials` header.
.google.protobuf.BoolValue allow_credentials = 6; -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
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 VirtualServiceOuterClass.CorsPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.CorsPolicy parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.CorsPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static VirtualServiceOuterClass.CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static VirtualServiceOuterClass.CorsPolicy.Builder newBuilder(VirtualServiceOuterClass.CorsPolicy prototype) -
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected VirtualServiceOuterClass.CorsPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-