Class BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder (1.57.0)

public static final class BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder extends GeneratedMessageV3.Builder<BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

build()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader build()
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader

buildPartial()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader buildPartial()
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader

clear()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder clear()
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

clearHeaderName()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder clearHeaderName()

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

optional string header_name = 110223613;

Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

clone()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder clone()
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

getDefaultInstanceForType()

public BackendBucketCdnPolicyBypassCacheOnRequestHeader getDefaultInstanceForType()
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHeaderName()

public String getHeaderName()

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

optional string header_name = 110223613;

Returns
Type Description
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
Type Description
ByteString

The bytes for headerName.

hasHeaderName()

public boolean hasHeaderName()

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

optional string header_name = 110223613;

Returns
Type Description
boolean

Whether the headerName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackendBucketCdnPolicyBypassCacheOnRequestHeader other)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder mergeFrom(BackendBucketCdnPolicyBypassCacheOnRequestHeader other)
Parameter
Name Description
other BackendBucketCdnPolicyBypassCacheOnRequestHeader
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

setHeaderName(String value)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder setHeaderName(String value)

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

optional string header_name = 110223613;

Parameter
Name Description
value String

The headerName to set.

Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

This builder for chaining.

setHeaderNameBytes(ByteString value)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder setHeaderNameBytes(ByteString value)

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

optional string header_name = 110223613;

Parameter
Name Description
value ByteString

The bytes for headerName to set.

Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Overrides