public final class BackendBucketCdnPolicyCacheKeyPolicy extends GeneratedMessageV3 implements BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
Message containing what to include in the cache key for a request for Cloud CDN.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyCacheKeyPolicy
Static Fields
public static final int INCLUDE_HTTP_HEADERS_FIELD_NUMBER
Field Value
QUERY_STRING_WHITELIST_FIELD_NUMBER
public static final int QUERY_STRING_WHITELIST_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BackendBucketCdnPolicyCacheKeyPolicy getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BackendBucketCdnPolicyCacheKeyPolicy.Builder newBuilder()
Returns
newBuilder(BackendBucketCdnPolicyCacheKeyPolicy prototype)
public static BackendBucketCdnPolicyCacheKeyPolicy.Builder newBuilder(BackendBucketCdnPolicyCacheKeyPolicy prototype)
Parameter
Returns
public static BackendBucketCdnPolicyCacheKeyPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BackendBucketCdnPolicyCacheKeyPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackendBucketCdnPolicyCacheKeyPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BackendBucketCdnPolicyCacheKeyPolicy> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BackendBucketCdnPolicyCacheKeyPolicy getDefaultInstanceForType()
Returns
public String getIncludeHttpHeaders(int index)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The includeHttpHeaders at the given index.
|
public ByteString getIncludeHttpHeadersBytes(int index)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the includeHttpHeaders at the given index.
|
public int getIncludeHttpHeadersCount()
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;
Returns
Type | Description |
int | The count of includeHttpHeaders.
|
public ProtocolStringList getIncludeHttpHeadersList()
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;
Returns
getParserForType()
public Parser<BackendBucketCdnPolicyCacheKeyPolicy> getParserForType()
Returns
Overrides
getQueryStringWhitelist(int index)
public String getQueryStringWhitelist(int index)
Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The queryStringWhitelist at the given index.
|
getQueryStringWhitelistBytes(int index)
public ByteString getQueryStringWhitelistBytes(int index)
Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the queryStringWhitelist at the given index.
|
getQueryStringWhitelistCount()
public int getQueryStringWhitelistCount()
Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;
Returns
Type | Description |
int | The count of queryStringWhitelist.
|
getQueryStringWhitelistList()
public ProtocolStringList getQueryStringWhitelistList()
Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BackendBucketCdnPolicyCacheKeyPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackendBucketCdnPolicyCacheKeyPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BackendBucketCdnPolicyCacheKeyPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions