public interface BackendBucketOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBucketName()
public abstract String getBucketName()Cloud Storage bucket name.
optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description |
String |
The bucketName. |
getBucketNameBytes()
public abstract ByteString getBucketNameBytes()Cloud Storage bucket name.
optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
BackendBucketCdnPolicy |
The cdnPolicy. |
getCdnPolicyOrBuilder()
public abstract BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for compressionMode. |
getCreationTimestamp()
public abstract String getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public abstract ByteString getCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getCustomResponseHeaders(int index)
public abstract String getCustomResponseHeaders(int index)Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The customResponseHeaders at the given index. |
getCustomResponseHeadersBytes(int index)
public abstract ByteString getCustomResponseHeadersBytes(int index)Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the customResponseHeaders at the given index. |
getCustomResponseHeadersCount()
public abstract int getCustomResponseHeadersCount()Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
| Returns | |
|---|---|
| Type | Description |
int |
The count of customResponseHeaders. |
getCustomResponseHeadersList()
public abstract List<String> getCustomResponseHeadersList()Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for edgeSecurityPolicy. |
getEnableCdn()
public abstract boolean getEnableCdn()If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableCdn. |
getId()
public abstract long getId()[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getKind()
public abstract String getKind()Type of the resource.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes()Type of the resource.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSelfLink()
public abstract String getSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public abstract ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
hasBucketName()
public abstract boolean hasBucketName()Cloud Storage bucket name.
optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
hasKind()
public abstract boolean hasKind()Type of the resource.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasSelfLink()
public abstract boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLink field is set. |