Package com.google.cloud.compute.v1
Interface BackendBucketOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BackendBucket
,BackendBucket.Builder
public interface BackendBucketOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBucketName()
Cloud Storage bucket name.com.google.protobuf.ByteString
getBucketNameBytes()
Cloud Storage bucket name.BackendBucketCdnPolicy
getCdnPolicy()
Cloud CDN configuration for this BackendBucket.BackendBucketCdnPolicyOrBuilder
getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendBucket.String
getCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.com.google.protobuf.ByteString
getCompressionModeBytes()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.String
getCustomResponseHeaders(int index)
Headers that the Application Load Balancer should add to proxied responses.com.google.protobuf.ByteString
getCustomResponseHeadersBytes(int index)
Headers that the Application Load Balancer should add to proxied responses.int
getCustomResponseHeadersCount()
Headers that the Application Load Balancer should add to proxied responses.List<String>
getCustomResponseHeadersList()
Headers that the Application Load Balancer should add to proxied responses.String
getDescription()
An optional textual description of the resource; provided by the client when the resource is created.com.google.protobuf.ByteString
getDescriptionBytes()
An optional textual description of the resource; provided by the client when the resource is created.String
getEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.com.google.protobuf.ByteString
getEdgeSecurityPolicyBytes()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.boolean
getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.long
getId()
[Output Only] Unique identifier for the resource; defined by the server.String
getKind()
Type of the resource.com.google.protobuf.ByteString
getKindBytes()
Type of the resource.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.boolean
hasBucketName()
Cloud Storage bucket name.boolean
hasCdnPolicy()
Cloud CDN configuration for this BackendBucket.boolean
hasCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.boolean
hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.boolean
hasEnableCdn()
If true, enable Cloud CDN for this BackendBucket.boolean
hasId()
[Output Only] Unique identifier for the resource; defined by the server.boolean
hasKind()
Type of the resource.boolean
hasName()
Name of the resource.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBucketName
boolean hasBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;
- Returns:
- Whether the bucketName field is set.
-
getBucketName
String getBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;
- Returns:
- The bucketName.
-
getBucketNameBytes
com.google.protobuf.ByteString getBucketNameBytes()
Cloud Storage bucket name.
optional string bucket_name = 283610048;
- Returns:
- The bytes for bucketName.
-
hasCdnPolicy
boolean hasCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
- Returns:
- Whether the cdnPolicy field is set.
-
getCdnPolicy
BackendBucketCdnPolicy getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
- Returns:
- The cdnPolicy.
-
getCdnPolicyOrBuilder
BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
-
hasCompressionMode
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:
- Whether the compressionMode field is set.
-
getCompressionMode
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:
- The compressionMode.
-
getCompressionModeBytes
com.google.protobuf.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:
- The bytes for compressionMode.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The bytes for creationTimestamp.
-
getCustomResponseHeadersList
List<String> getCustomResponseHeadersList()
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
- Returns:
- A list containing the customResponseHeaders.
-
getCustomResponseHeadersCount
int getCustomResponseHeadersCount()
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
- Returns:
- The count of customResponseHeaders.
-
getCustomResponseHeaders
String getCustomResponseHeaders(int index)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
- Parameters:
index
- The index of the element to return.- Returns:
- The customResponseHeaders at the given index.
-
getCustomResponseHeadersBytes
com.google.protobuf.ByteString getCustomResponseHeadersBytes(int index)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the customResponseHeaders at the given index.
-
hasDescription
boolean hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasEdgeSecurityPolicy
boolean hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;
- Returns:
- Whether the edgeSecurityPolicy field is set.
-
getEdgeSecurityPolicy
String getEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;
- Returns:
- The edgeSecurityPolicy.
-
getEdgeSecurityPolicyBytes
com.google.protobuf.ByteString getEdgeSecurityPolicyBytes()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;
- Returns:
- The bytes for edgeSecurityPolicy.
-
hasEnableCdn
boolean hasEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;
- Returns:
- Whether the enableCdn field is set.
-
getEnableCdn
boolean getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;
- Returns:
- The enableCdn.
-
hasId
boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
Type of the resource.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
Type of the resource.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
Type of the resource.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasName
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]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the name field is set.
-
getName
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]([-a-z0-9]*[a-z0-9])?` 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:
- The name.
-
getNameBytes
com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for name.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
-