- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class BackendBucket.Builder extends GeneratedMessageV3.Builder<BackendBucket.Builder> implements BackendBucketOrBuilderRepresents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.
 Protobuf type google.cloud.compute.v1.BackendBucket
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackendBucket.BuilderImplements
BackendBucketOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllCustomResponseHeaders(Iterable<String> values)
public BackendBucket.Builder addAllCustomResponseHeaders(Iterable<String> values)Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The customResponseHeaders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
addCustomResponseHeaders(String value)
public BackendBucket.Builder addCustomResponseHeaders(String value)Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe customResponseHeaders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
addCustomResponseHeadersBytes(ByteString value)
public BackendBucket.Builder addCustomResponseHeadersBytes(ByteString value)Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the customResponseHeaders to add. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
build()
public BackendBucket build()| Returns | |
|---|---|
| Type | Description | 
| BackendBucket | |
buildPartial()
public BackendBucket buildPartial()| Returns | |
|---|---|
| Type | Description | 
| BackendBucket | |
clear()
public BackendBucket.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
clearBucketName()
public BackendBucket.Builder clearBucketName()Cloud Storage bucket name.
 optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearCdnPolicy()
public BackendBucket.Builder clearCdnPolicy()Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
clearCompressionMode()
public BackendBucket.Builder clearCompressionMode()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 | 
| BackendBucket.Builder | This builder for chaining. | 
clearCreationTimestamp()
public BackendBucket.Builder clearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
 optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearCustomResponseHeaders()
public BackendBucket.Builder clearCustomResponseHeaders()Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearDescription()
public BackendBucket.Builder clearDescription()An optional textual description of the resource; provided by the client when the resource is created.
 optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearEdgeSecurityPolicy()
public BackendBucket.Builder clearEdgeSecurityPolicy()[Output Only] The resource URL for the edge security policy associated with this backend bucket.
 optional string edge_security_policy = 41036943;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearEnableCdn()
public BackendBucket.Builder clearEnableCdn()If true, enable Cloud CDN for this BackendBucket.
 optional bool enable_cdn = 282942321;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public BackendBucket.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
clearId()
public BackendBucket.Builder clearId()[Output Only] Unique identifier for the resource; defined by the server.
 optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearKind()
public BackendBucket.Builder clearKind()Type of the resource.
 optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clearName()
public BackendBucket.Builder clearName() 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 | 
| BackendBucket.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
clearSelfLink()
public BackendBucket.Builder clearSelfLink()[Output Only] Server-defined URL for the resource.
 optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
clone()
public BackendBucket.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
getBucketName()
public String getBucketName()Cloud Storage bucket name.
 optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description | 
| String | The bucketName. | 
getBucketNameBytes()
public ByteString getBucketNameBytes()Cloud Storage bucket name.
 optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for bucketName. | 
getCdnPolicy()
public BackendBucketCdnPolicy getCdnPolicy()Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucketCdnPolicy | The cdnPolicy. | 
getCdnPolicyBuilder()
public BackendBucketCdnPolicy.Builder getCdnPolicyBuilder()Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucketCdnPolicy.Builder | |
getCdnPolicyOrBuilder()
public BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Returns | |
|---|---|
| Type | Description | 
| BackendBucketCdnPolicyOrBuilder | |
getCompressionMode()
public 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 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 String getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.
 optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description | 
| String | The creationTimestamp. | 
getCreationTimestampBytes()
public 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 String getCustomResponseHeaders(int index)Headers that the HTTP/S 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 ByteString getCustomResponseHeadersBytes(int index)Headers that the HTTP/S 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 int getCustomResponseHeadersCount()Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of customResponseHeaders. | 
getCustomResponseHeadersList()
public ProtocolStringList getCustomResponseHeadersList()Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the customResponseHeaders. | 
getDefaultInstanceForType()
public BackendBucket getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| BackendBucket | |
getDescription()
public 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 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. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getEdgeSecurityPolicy()
public 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 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 boolean getEnableCdn()If true, enable Cloud CDN for this BackendBucket.
 optional bool enable_cdn = 282942321;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The enableCdn. | 
getId()
public 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 String getKind()Type of the resource.
 optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description | 
| String | The kind. | 
getKindBytes()
public ByteString getKindBytes()Type of the resource.
 optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for kind. | 
getName()
public 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 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 String getSelfLink()[Output Only] Server-defined URL for the resource.
 optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description | 
| String | The selfLink. | 
getSelfLinkBytes()
public 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 boolean hasBucketName()Cloud Storage bucket name.
 optional string bucket_name = 283610048;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the bucketName field is set. | 
hasCdnPolicy()
public 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 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 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 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 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 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 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 boolean hasKind()Type of the resource.
 optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the kind field is set. | 
hasName()
public 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 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. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCdnPolicy(BackendBucketCdnPolicy value)
public BackendBucket.Builder mergeCdnPolicy(BackendBucketCdnPolicy value)Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Parameter | |
|---|---|
| Name | Description | 
| value | BackendBucketCdnPolicy | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
mergeFrom(BackendBucket other)
public BackendBucket.Builder mergeFrom(BackendBucket other)| Parameter | |
|---|---|
| Name | Description | 
| other | BackendBucket | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackendBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public BackendBucket.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
setBucketName(String value)
public BackendBucket.Builder setBucketName(String value)Cloud Storage bucket name.
 optional string bucket_name = 283610048;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe bucketName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setBucketNameBytes(ByteString value)
public BackendBucket.Builder setBucketNameBytes(ByteString value)Cloud Storage bucket name.
 optional string bucket_name = 283610048;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for bucketName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setCdnPolicy(BackendBucketCdnPolicy value)
public BackendBucket.Builder setCdnPolicy(BackendBucketCdnPolicy value)Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Parameter | |
|---|---|
| Name | Description | 
| value | BackendBucketCdnPolicy | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
setCdnPolicy(BackendBucketCdnPolicy.Builder builderForValue)
public BackendBucket.Builder setCdnPolicy(BackendBucketCdnPolicy.Builder builderForValue)Cloud CDN configuration for this BackendBucket.
 optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | BackendBucketCdnPolicy.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
setCompressionMode(String value)
public BackendBucket.Builder setCompressionMode(String value)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;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe compressionMode to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setCompressionModeBytes(ByteString value)
public BackendBucket.Builder setCompressionModeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for compressionMode to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setCreationTimestamp(String value)
public BackendBucket.Builder setCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.
 optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe creationTimestamp to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setCreationTimestampBytes(ByteString value)
public BackendBucket.Builder setCreationTimestampBytes(ByteString value)[Output Only] Creation timestamp in RFC3339 text format.
 optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for creationTimestamp to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setCustomResponseHeaders(int index, String value)
public BackendBucket.Builder setCustomResponseHeaders(int index, String value)Headers that the HTTP/S load balancer should add to proxied responses.
 repeated string custom_response_headers = 387539094;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe customResponseHeaders to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setDescription(String value)
public BackendBucket.Builder setDescription(String value)An optional textual description of the resource; provided by the client when the resource is created.
 optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public BackendBucket.Builder setDescriptionBytes(ByteString value)An optional textual description of the resource; provided by the client when the resource is created.
 optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setEdgeSecurityPolicy(String value)
public BackendBucket.Builder setEdgeSecurityPolicy(String value)[Output Only] The resource URL for the edge security policy associated with this backend bucket.
 optional string edge_security_policy = 41036943;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe edgeSecurityPolicy to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setEdgeSecurityPolicyBytes(ByteString value)
public BackendBucket.Builder setEdgeSecurityPolicyBytes(ByteString value)[Output Only] The resource URL for the edge security policy associated with this backend bucket.
 optional string edge_security_policy = 41036943;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for edgeSecurityPolicy to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setEnableCdn(boolean value)
public BackendBucket.Builder setEnableCdn(boolean value)If true, enable Cloud CDN for this BackendBucket.
 optional bool enable_cdn = 282942321;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe enableCdn to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public BackendBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
setId(long value)
public BackendBucket.Builder setId(long value)[Output Only] Unique identifier for the resource; defined by the server.
 optional uint64 id = 3355;
| Parameter | |
|---|---|
| Name | Description | 
| value | longThe id to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setKind(String value)
public BackendBucket.Builder setKind(String value)Type of the resource.
 optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe kind to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setKindBytes(ByteString value)
public BackendBucket.Builder setKindBytes(ByteString value)Type of the resource.
 optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for kind to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setName(String value)
public BackendBucket.Builder setName(String value) 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public BackendBucket.Builder setNameBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |
setSelfLink(String value)
public BackendBucket.Builder setSelfLink(String value)[Output Only] Server-defined URL for the resource.
 optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe selfLink to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setSelfLinkBytes(ByteString value)
public BackendBucket.Builder setSelfLinkBytes(ByteString value)[Output Only] Server-defined URL for the resource.
 optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for selfLink to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BackendBucket.Builder | |