Interface BackendBucketOrBuilder (1.25.0)

public interface BackendBucketOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketName()

public abstract String getBucketName()

Cloud Storage bucket name.

optional string bucket_name = 283610048;

Returns
TypeDescription
String

The bucketName.

getBucketNameBytes()

public abstract ByteString getBucketNameBytes()

Cloud Storage bucket name.

optional string bucket_name = 283610048;

Returns
TypeDescription
ByteString

The bytes for bucketName.

getCdnPolicy()

public abstract BackendBucketCdnPolicy getCdnPolicy()

Cloud CDN configuration for this BackendBucket.

optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;

Returns
TypeDescription
BackendBucketCdnPolicy

The cdnPolicy.

getCdnPolicyOrBuilder()

public abstract BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()

Cloud CDN configuration for this BackendBucket.

optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;

Returns
TypeDescription
BackendBucketCdnPolicyOrBuilder

getCompressionMode()

public abstract String getCompressionMode()

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.

optional string compression_mode = 95520988;

Returns
TypeDescription
String

The compressionMode.

getCompressionModeBytes()

public abstract ByteString getCompressionModeBytes()

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.

optional string compression_mode = 95520988;

Returns
TypeDescription
ByteString

The bytes for compressionMode.

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getCustomResponseHeaders(int index)

public abstract String getCustomResponseHeaders(int index)

Headers that the HTTP/S load balancer should add to proxied responses.

repeated string custom_response_headers = 387539094;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The customResponseHeaders at the given index.

getCustomResponseHeadersBytes(int index)

public abstract ByteString getCustomResponseHeadersBytes(int index)

Headers that the HTTP/S load balancer should add to proxied responses.

repeated string custom_response_headers = 387539094;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the customResponseHeaders at the given index.

getCustomResponseHeadersCount()

public abstract int getCustomResponseHeadersCount()

Headers that the HTTP/S load balancer should add to proxied responses.

repeated string custom_response_headers = 387539094;

Returns
TypeDescription
int

The count of customResponseHeaders.

getCustomResponseHeadersList()

public abstract List<String> getCustomResponseHeadersList()

Headers that the HTTP/S load balancer should add to proxied responses.

repeated string custom_response_headers = 387539094;

Returns
TypeDescription
List<String>

A list containing the customResponseHeaders.

getDescription()

public abstract String getDescription()

An optional textual description of the resource; provided by the client when the resource is created.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional textual description of the resource; provided by the client when the resource is created.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getEdgeSecurityPolicy()

public abstract String getEdgeSecurityPolicy()

[Output Only] The resource URL for the edge security policy associated with this backend bucket.

optional string edge_security_policy = 41036943;

Returns
TypeDescription
String

The edgeSecurityPolicy.

getEdgeSecurityPolicyBytes()

public abstract ByteString getEdgeSecurityPolicyBytes()

[Output Only] The resource URL for the edge security policy associated with this backend bucket.

optional string edge_security_policy = 41036943;

Returns
TypeDescription
ByteString

The bytes for edgeSecurityPolicy.

getEnableCdn()

public abstract boolean getEnableCdn()

If true, enable Cloud CDN for this BackendBucket.

optional bool enable_cdn = 282942321;

Returns
TypeDescription
boolean

The enableCdn.

getId()

public abstract long getId()

[Output Only] Unique identifier for the resource; defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
long

The id.

getKind()

public abstract String getKind()

Type of the resource.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

Type of the resource.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getName()

public abstract String getName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

hasBucketName()

public abstract boolean hasBucketName()

Cloud Storage bucket name.

optional string bucket_name = 283610048;

Returns
TypeDescription
boolean

Whether the bucketName field is set.

hasCdnPolicy()

public abstract boolean hasCdnPolicy()

Cloud CDN configuration for this BackendBucket.

optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;

Returns
TypeDescription
boolean

Whether the cdnPolicy field is set.

hasCompressionMode()

public abstract boolean hasCompressionMode()

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.

optional string compression_mode = 95520988;

Returns
TypeDescription
boolean

Whether the compressionMode field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional textual description of the resource; provided by the client when the resource is created.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasEdgeSecurityPolicy()

public abstract boolean hasEdgeSecurityPolicy()

[Output Only] The resource URL for the edge security policy associated with this backend bucket.

optional string edge_security_policy = 41036943;

Returns
TypeDescription
boolean

Whether the edgeSecurityPolicy field is set.

hasEnableCdn()

public abstract boolean hasEnableCdn()

If true, enable Cloud CDN for this BackendBucket.

optional bool enable_cdn = 282942321;

Returns
TypeDescription
boolean

Whether the enableCdn field is set.

hasId()

public abstract boolean hasId()

[Output Only] Unique identifier for the resource; defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

Type of the resource.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasName()

public abstract boolean hasName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.