Class BackendServiceCdnPolicyBypassCacheOnRequestHeader (1.39.0)

public final class BackendServiceCdnPolicyBypassCacheOnRequestHeader extends GeneratedMessageV3 implements BackendServiceCdnPolicyBypassCacheOnRequestHeaderOrBuilder

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.BackendServiceCdnPolicyBypassCacheOnRequestHeader

Inheritance

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

Static Fields

HEADER_NAME_FIELD_NUMBER

public static final int HEADER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackendServiceCdnPolicyBypassCacheOnRequestHeader getDefaultInstance()
Returns
TypeDescription
BackendServiceCdnPolicyBypassCacheOnRequestHeader

getDescriptor()

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

newBuilder()

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

newBuilder(BackendServiceCdnPolicyBypassCacheOnRequestHeader prototype)

public static BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder newBuilder(BackendServiceCdnPolicyBypassCacheOnRequestHeader prototype)
Parameter
NameDescription
prototypeBackendServiceCdnPolicyBypassCacheOnRequestHeader
Returns
TypeDescription
BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BackendServiceCdnPolicyBypassCacheOnRequestHeader getDefaultInstanceForType()
Returns
TypeDescription
BackendServiceCdnPolicyBypassCacheOnRequestHeader

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<BackendServiceCdnPolicyBypassCacheOnRequestHeader> getParserForType()
Returns
TypeDescription
Parser<BackendServiceCdnPolicyBypassCacheOnRequestHeader>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder newBuilderForType()
Returns
TypeDescription
BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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