Package com.google.cloud.compute.v1
Class CorsPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.CorsPolicy
-
- All Implemented Interfaces:
CorsPolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class CorsPolicy extends com.google.protobuf.GeneratedMessageV3 implements CorsPolicyOrBuilder
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.
Protobuf typegoogle.cloud.compute.v1.CorsPolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CorsPolicy.Builder
The specification for allowing client-side cross-origin requests.-
Nested classes/interfaces inherited from class 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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOW_CREDENTIALS_FIELD_NUMBER
static int
ALLOW_HEADERS_FIELD_NUMBER
static int
ALLOW_METHODS_FIELD_NUMBER
static int
ALLOW_ORIGIN_REGEXES_FIELD_NUMBER
static int
ALLOW_ORIGINS_FIELD_NUMBER
static int
DISABLED_FIELD_NUMBER
static int
EXPOSE_HEADERS_FIELD_NUMBER
static int
MAX_AGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials.String
getAllowHeaders(int index)
Specifies the content for the Access-Control-Allow-Headers header.com.google.protobuf.ByteString
getAllowHeadersBytes(int index)
Specifies the content for the Access-Control-Allow-Headers header.int
getAllowHeadersCount()
Specifies the content for the Access-Control-Allow-Headers header.com.google.protobuf.ProtocolStringList
getAllowHeadersList()
Specifies the content for the Access-Control-Allow-Headers header.String
getAllowMethods(int index)
Specifies the content for the Access-Control-Allow-Methods header.com.google.protobuf.ByteString
getAllowMethodsBytes(int index)
Specifies the content for the Access-Control-Allow-Methods header.int
getAllowMethodsCount()
Specifies the content for the Access-Control-Allow-Methods header.com.google.protobuf.ProtocolStringList
getAllowMethodsList()
Specifies the content for the Access-Control-Allow-Methods header.String
getAllowOriginRegexes(int index)
Specifies a regular expression that matches allowed origins.com.google.protobuf.ByteString
getAllowOriginRegexesBytes(int index)
Specifies a regular expression that matches allowed origins.int
getAllowOriginRegexesCount()
Specifies a regular expression that matches allowed origins.com.google.protobuf.ProtocolStringList
getAllowOriginRegexesList()
Specifies a regular expression that matches allowed origins.String
getAllowOrigins(int index)
Specifies the list of origins that is allowed to do CORS requests.com.google.protobuf.ByteString
getAllowOriginsBytes(int index)
Specifies the list of origins that is allowed to do CORS requests.int
getAllowOriginsCount()
Specifies the list of origins that is allowed to do CORS requests.com.google.protobuf.ProtocolStringList
getAllowOriginsList()
Specifies the list of origins that is allowed to do CORS requests.static CorsPolicy
getDefaultInstance()
CorsPolicy
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getDisabled()
If true, the setting specifies the CORS policy is disabled.String
getExposeHeaders(int index)
Specifies the content for the Access-Control-Expose-Headers header.com.google.protobuf.ByteString
getExposeHeadersBytes(int index)
Specifies the content for the Access-Control-Expose-Headers header.int
getExposeHeadersCount()
Specifies the content for the Access-Control-Expose-Headers header.com.google.protobuf.ProtocolStringList
getExposeHeadersList()
Specifies the content for the Access-Control-Expose-Headers header.int
getMaxAge()
Specifies how long results of a preflight request can be cached in seconds.com.google.protobuf.Parser<CorsPolicy>
getParserForType()
int
getSerializedSize()
boolean
hasAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials.boolean
hasDisabled()
If true, the setting specifies the CORS policy is disabled.int
hashCode()
boolean
hasMaxAge()
Specifies how long results of a preflight request can be cached in seconds.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static CorsPolicy.Builder
newBuilder()
static CorsPolicy.Builder
newBuilder(CorsPolicy prototype)
CorsPolicy.Builder
newBuilderForType()
protected CorsPolicy.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CorsPolicy
parseDelimitedFrom(InputStream input)
static CorsPolicy
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CorsPolicy
parseFrom(byte[] data)
static CorsPolicy
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CorsPolicy
parseFrom(com.google.protobuf.ByteString data)
static CorsPolicy
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CorsPolicy
parseFrom(com.google.protobuf.CodedInputStream input)
static CorsPolicy
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CorsPolicy
parseFrom(InputStream input)
static CorsPolicy
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CorsPolicy
parseFrom(ByteBuffer data)
static CorsPolicy
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CorsPolicy>
parser()
CorsPolicy.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ALLOW_CREDENTIALS_FIELD_NUMBER
public static final int ALLOW_CREDENTIALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_HEADERS_FIELD_NUMBER
public static final int ALLOW_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_METHODS_FIELD_NUMBER
public static final int ALLOW_METHODS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_ORIGIN_REGEXES_FIELD_NUMBER
public static final int ALLOW_ORIGIN_REGEXES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_ORIGINS_FIELD_NUMBER
public static final int ALLOW_ORIGINS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPOSE_HEADERS_FIELD_NUMBER
public static final int EXPOSE_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_AGE_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasAllowCredentials
public boolean hasAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
optional bool allow_credentials = 481263366;
- Specified by:
hasAllowCredentials
in interfaceCorsPolicyOrBuilder
- Returns:
- Whether the allowCredentials field is set.
-
getAllowCredentials
public boolean getAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
optional bool allow_credentials = 481263366;
- Specified by:
getAllowCredentials
in interfaceCorsPolicyOrBuilder
- Returns:
- The allowCredentials.
-
getAllowHeadersList
public com.google.protobuf.ProtocolStringList getAllowHeadersList()
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;
- Specified by:
getAllowHeadersList
in interfaceCorsPolicyOrBuilder
- Returns:
- A list containing the allowHeaders.
-
getAllowHeadersCount
public int getAllowHeadersCount()
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;
- Specified by:
getAllowHeadersCount
in interfaceCorsPolicyOrBuilder
- Returns:
- The count of allowHeaders.
-
getAllowHeaders
public String getAllowHeaders(int index)
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;
- Specified by:
getAllowHeaders
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowHeaders at the given index.
-
getAllowHeadersBytes
public com.google.protobuf.ByteString getAllowHeadersBytes(int index)
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;
- Specified by:
getAllowHeadersBytes
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowHeaders at the given index.
-
getAllowMethodsList
public com.google.protobuf.ProtocolStringList getAllowMethodsList()
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;
- Specified by:
getAllowMethodsList
in interfaceCorsPolicyOrBuilder
- Returns:
- A list containing the allowMethods.
-
getAllowMethodsCount
public int getAllowMethodsCount()
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;
- Specified by:
getAllowMethodsCount
in interfaceCorsPolicyOrBuilder
- Returns:
- The count of allowMethods.
-
getAllowMethods
public String getAllowMethods(int index)
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;
- Specified by:
getAllowMethods
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowMethods at the given index.
-
getAllowMethodsBytes
public com.google.protobuf.ByteString getAllowMethodsBytes(int index)
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;
- Specified by:
getAllowMethodsBytes
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowMethods at the given index.
-
getAllowOriginRegexesList
public com.google.protobuf.ProtocolStringList getAllowOriginRegexesList()
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;
- Specified by:
getAllowOriginRegexesList
in interfaceCorsPolicyOrBuilder
- Returns:
- A list containing the allowOriginRegexes.
-
getAllowOriginRegexesCount
public int getAllowOriginRegexesCount()
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;
- Specified by:
getAllowOriginRegexesCount
in interfaceCorsPolicyOrBuilder
- Returns:
- The count of allowOriginRegexes.
-
getAllowOriginRegexes
public String getAllowOriginRegexes(int index)
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;
- Specified by:
getAllowOriginRegexes
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowOriginRegexes at the given index.
-
getAllowOriginRegexesBytes
public com.google.protobuf.ByteString getAllowOriginRegexesBytes(int index)
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;
- Specified by:
getAllowOriginRegexesBytes
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowOriginRegexes at the given index.
-
getAllowOriginsList
public com.google.protobuf.ProtocolStringList getAllowOriginsList()
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;
- Specified by:
getAllowOriginsList
in interfaceCorsPolicyOrBuilder
- Returns:
- A list containing the allowOrigins.
-
getAllowOriginsCount
public int getAllowOriginsCount()
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;
- Specified by:
getAllowOriginsCount
in interfaceCorsPolicyOrBuilder
- Returns:
- The count of allowOrigins.
-
getAllowOrigins
public String getAllowOrigins(int index)
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;
- Specified by:
getAllowOrigins
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowOrigins at the given index.
-
getAllowOriginsBytes
public com.google.protobuf.ByteString getAllowOriginsBytes(int index)
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;
- Specified by:
getAllowOriginsBytes
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowOrigins at the given index.
-
hasDisabled
public boolean hasDisabled()
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
optional bool disabled = 270940796;
- Specified by:
hasDisabled
in interfaceCorsPolicyOrBuilder
- Returns:
- Whether the disabled field is set.
-
getDisabled
public boolean getDisabled()
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
optional bool disabled = 270940796;
- Specified by:
getDisabled
in interfaceCorsPolicyOrBuilder
- Returns:
- The disabled.
-
getExposeHeadersList
public com.google.protobuf.ProtocolStringList getExposeHeadersList()
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;
- Specified by:
getExposeHeadersList
in interfaceCorsPolicyOrBuilder
- Returns:
- A list containing the exposeHeaders.
-
getExposeHeadersCount
public int getExposeHeadersCount()
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;
- Specified by:
getExposeHeadersCount
in interfaceCorsPolicyOrBuilder
- Returns:
- The count of exposeHeaders.
-
getExposeHeaders
public String getExposeHeaders(int index)
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;
- Specified by:
getExposeHeaders
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The exposeHeaders at the given index.
-
getExposeHeadersBytes
public com.google.protobuf.ByteString getExposeHeadersBytes(int index)
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;
- Specified by:
getExposeHeadersBytes
in interfaceCorsPolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the exposeHeaders at the given index.
-
hasMaxAge
public boolean hasMaxAge()
Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.
optional int32 max_age = 307559332;
- Specified by:
hasMaxAge
in interfaceCorsPolicyOrBuilder
- Returns:
- Whether the maxAge field is set.
-
getMaxAge
public int getMaxAge()
Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.
optional int32 max_age = 307559332;
- Specified by:
getMaxAge
in interfaceCorsPolicyOrBuilder
- Returns:
- The maxAge.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CorsPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CorsPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CorsPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CorsPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CorsPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CorsPolicy.Builder newBuilder()
-
newBuilder
public static CorsPolicy.Builder newBuilder(CorsPolicy prototype)
-
toBuilder
public CorsPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CorsPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CorsPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CorsPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<CorsPolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CorsPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-