Class BackendBucketCdnPolicyBypassCacheOnRequestHeader (1.22.0)

public final class BackendBucketCdnPolicyBypassCacheOnRequestHeader extends GeneratedMessageV3 implements BackendBucketCdnPolicyBypassCacheOnRequestHeaderOrBuilder

Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.

Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyBypassCacheOnRequestHeader

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BackendBucketCdnPolicyBypassCacheOnRequestHeader

Static Fields

HEADER_NAME_FIELD_NUMBER

public static final int HEADER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader getDefaultInstance()
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder newBuilder()
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

newBuilder(BackendBucketCdnPolicyBypassCacheOnRequestHeader prototype)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder newBuilder(BackendBucketCdnPolicyBypassCacheOnRequestHeader prototype)
Parameter
NameDescription
prototypeBackendBucketCdnPolicyBypassCacheOnRequestHeader
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

parseDelimitedFrom(InputStream input)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackendBucketCdnPolicyBypassCacheOnRequestHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BackendBucketCdnPolicyBypassCacheOnRequestHeader> parser()
Returns
TypeDescription
Parser<BackendBucketCdnPolicyBypassCacheOnRequestHeader>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader getDefaultInstanceForType()
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader

getHeaderName()

public String getHeaderName()

The header field name to match on when bypassing cache. Values are case-insensitive.

optional string header_name = 110223613;

Returns
TypeDescription
String

The headerName.

getHeaderNameBytes()

public ByteString getHeaderNameBytes()

The header field name to match on when bypassing cache. Values are case-insensitive.

optional string header_name = 110223613;

Returns
TypeDescription
ByteString

The bytes for headerName.

getParserForType()

public Parser<BackendBucketCdnPolicyBypassCacheOnRequestHeader> getParserForType()
Returns
TypeDescription
Parser<BackendBucketCdnPolicyBypassCacheOnRequestHeader>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasHeaderName()

public boolean hasHeaderName()

The header field name to match on when bypassing cache. Values are case-insensitive.

optional string header_name = 110223613;

Returns
TypeDescription
boolean

Whether the headerName field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder newBuilderForType()
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder toBuilder()
Returns
TypeDescription
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException