Package com.google.cloud.compute.v1
Class BackendBucket.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
- com.google.cloud.compute.v1.BackendBucket.Builder
-
- All Implemented Interfaces:
BackendBucketOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackendBucket
public static final class BackendBucket.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder> implements BackendBucketOrBuilder
Represents 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 typegoogle.cloud.compute.v1.BackendBucket
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendBucket.BuilderaddAllCustomResponseHeaders(Iterable<String> values)Headers that the Application Load Balancer should add to proxied responses.BackendBucket.BuilderaddCustomResponseHeaders(String value)Headers that the Application Load Balancer should add to proxied responses.BackendBucket.BuilderaddCustomResponseHeadersBytes(com.google.protobuf.ByteString value)Headers that the Application Load Balancer should add to proxied responses.BackendBucket.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackendBucketbuild()BackendBucketbuildPartial()BackendBucket.Builderclear()BackendBucket.BuilderclearBucketName()Cloud Storage bucket name.BackendBucket.BuilderclearCdnPolicy()Cloud CDN configuration for this BackendBucket.BackendBucket.BuilderclearCompressionMode()Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.BackendBucket.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.BackendBucket.BuilderclearCustomResponseHeaders()Headers that the Application Load Balancer should add to proxied responses.BackendBucket.BuilderclearDescription()An optional textual description of the resource; provided by the client when the resource is created.BackendBucket.BuilderclearEdgeSecurityPolicy()[Output Only] The resource URL for the edge security policy associated with this backend bucket.BackendBucket.BuilderclearEnableCdn()If true, enable Cloud CDN for this BackendBucket.BackendBucket.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BackendBucket.BuilderclearId()[Output Only] Unique identifier for the resource; defined by the server.BackendBucket.BuilderclearKind()Type of the resource.BackendBucket.BuilderclearName()Name of the resource.BackendBucket.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BackendBucket.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.BackendBucket.Builderclone()StringgetBucketName()Cloud Storage bucket name.com.google.protobuf.ByteStringgetBucketNameBytes()Cloud Storage bucket name.BackendBucketCdnPolicygetCdnPolicy()Cloud CDN configuration for this BackendBucket.BackendBucketCdnPolicy.BuildergetCdnPolicyBuilder()Cloud CDN configuration for this BackendBucket.BackendBucketCdnPolicyOrBuildergetCdnPolicyOrBuilder()Cloud CDN configuration for this BackendBucket.StringgetCompressionMode()Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.com.google.protobuf.ByteStringgetCompressionModeBytes()Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.StringgetCustomResponseHeaders(int index)Headers that the Application Load Balancer should add to proxied responses.com.google.protobuf.ByteStringgetCustomResponseHeadersBytes(int index)Headers that the Application Load Balancer should add to proxied responses.intgetCustomResponseHeadersCount()Headers that the Application Load Balancer should add to proxied responses.com.google.protobuf.ProtocolStringListgetCustomResponseHeadersList()Headers that the Application Load Balancer should add to proxied responses.BackendBucketgetDefaultInstanceForType()StringgetDescription()An optional textual description of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringgetDescriptionBytes()An optional textual description of the resource; provided by the client when the resource is created.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEdgeSecurityPolicy()[Output Only] The resource URL for the edge security policy associated with this backend bucket.com.google.protobuf.ByteStringgetEdgeSecurityPolicyBytes()[Output Only] The resource URL for the edge security policy associated with this backend bucket.booleangetEnableCdn()If true, enable Cloud CDN for this BackendBucket.longgetId()[Output Only] Unique identifier for the resource; defined by the server.StringgetKind()Type of the resource.com.google.protobuf.ByteStringgetKindBytes()Type of the resource.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.booleanhasBucketName()Cloud Storage bucket name.booleanhasCdnPolicy()Cloud CDN configuration for this BackendBucket.booleanhasCompressionMode()Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional textual description of the resource; provided by the client when the resource is created.booleanhasEdgeSecurityPolicy()[Output Only] The resource URL for the edge security policy associated with this backend bucket.booleanhasEnableCdn()If true, enable Cloud CDN for this BackendBucket.booleanhasId()[Output Only] Unique identifier for the resource; defined by the server.booleanhasKind()Type of the resource.booleanhasName()Name of the resource.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BackendBucket.BuildermergeCdnPolicy(BackendBucketCdnPolicy value)Cloud CDN configuration for this BackendBucket.BackendBucket.BuildermergeFrom(BackendBucket other)BackendBucket.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BackendBucket.BuildermergeFrom(com.google.protobuf.Message other)BackendBucket.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BackendBucket.BuildersetBucketName(String value)Cloud Storage bucket name.BackendBucket.BuildersetBucketNameBytes(com.google.protobuf.ByteString value)Cloud Storage bucket name.BackendBucket.BuildersetCdnPolicy(BackendBucketCdnPolicy value)Cloud CDN configuration for this BackendBucket.BackendBucket.BuildersetCdnPolicy(BackendBucketCdnPolicy.Builder builderForValue)Cloud CDN configuration for this BackendBucket.BackendBucket.BuildersetCompressionMode(String value)Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.BackendBucket.BuildersetCompressionModeBytes(com.google.protobuf.ByteString value)Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.BackendBucket.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.BackendBucket.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.BackendBucket.BuildersetCustomResponseHeaders(int index, String value)Headers that the Application Load Balancer should add to proxied responses.BackendBucket.BuildersetDescription(String value)An optional textual description of the resource; provided by the client when the resource is created.BackendBucket.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional textual description of the resource; provided by the client when the resource is created.BackendBucket.BuildersetEdgeSecurityPolicy(String value)[Output Only] The resource URL for the edge security policy associated with this backend bucket.BackendBucket.BuildersetEdgeSecurityPolicyBytes(com.google.protobuf.ByteString value)[Output Only] The resource URL for the edge security policy associated with this backend bucket.BackendBucket.BuildersetEnableCdn(boolean value)If true, enable Cloud CDN for this BackendBucket.BackendBucket.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackendBucket.BuildersetId(long value)[Output Only] Unique identifier for the resource; defined by the server.BackendBucket.BuildersetKind(String value)Type of the resource.BackendBucket.BuildersetKindBytes(com.google.protobuf.ByteString value)Type of the resource.BackendBucket.BuildersetName(String value)Name of the resource.BackendBucket.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.BackendBucket.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BackendBucket.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.BackendBucket.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.BackendBucket.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
clear
public BackendBucket.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
getDefaultInstanceForType
public BackendBucket getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackendBucket build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackendBucket buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackendBucket.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
setField
public BackendBucket.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
clearField
public BackendBucket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
clearOneof
public BackendBucket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
setRepeatedField
public BackendBucket.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
addRepeatedField
public BackendBucket.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
mergeFrom
public BackendBucket.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendBucket.Builder>
-
mergeFrom
public BackendBucket.Builder mergeFrom(BackendBucket other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
mergeFrom
public BackendBucket.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendBucket.Builder>- Throws:
IOException
-
hasBucketName
public boolean hasBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Specified by:
hasBucketNamein interfaceBackendBucketOrBuilder- Returns:
- Whether the bucketName field is set.
-
getBucketName
public String getBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Specified by:
getBucketNamein interfaceBackendBucketOrBuilder- Returns:
- The bucketName.
-
getBucketNameBytes
public com.google.protobuf.ByteString getBucketNameBytes()
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Specified by:
getBucketNameBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for bucketName.
-
setBucketName
public BackendBucket.Builder setBucketName(String value)
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Parameters:
value- The bucketName to set.- Returns:
- This builder for chaining.
-
clearBucketName
public BackendBucket.Builder clearBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Returns:
- This builder for chaining.
-
setBucketNameBytes
public BackendBucket.Builder setBucketNameBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Parameters:
value- The bytes for bucketName to set.- Returns:
- This builder for chaining.
-
hasCdnPolicy
public boolean hasCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;- Specified by:
hasCdnPolicyin interfaceBackendBucketOrBuilder- Returns:
- Whether the cdnPolicy field is set.
-
getCdnPolicy
public BackendBucketCdnPolicy getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;- Specified by:
getCdnPolicyin interfaceBackendBucketOrBuilder- Returns:
- The cdnPolicy.
-
setCdnPolicy
public BackendBucket.Builder setCdnPolicy(BackendBucketCdnPolicy value)
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
-
setCdnPolicy
public BackendBucket.Builder setCdnPolicy(BackendBucketCdnPolicy.Builder builderForValue)
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
-
mergeCdnPolicy
public BackendBucket.Builder mergeCdnPolicy(BackendBucketCdnPolicy value)
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
-
clearCdnPolicy
public BackendBucket.Builder clearCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
-
getCdnPolicyBuilder
public BackendBucketCdnPolicy.Builder getCdnPolicyBuilder()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
-
getCdnPolicyOrBuilder
public BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;- Specified by:
getCdnPolicyOrBuilderin interfaceBackendBucketOrBuilder
-
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;- Specified by:
hasCompressionModein interfaceBackendBucketOrBuilder- Returns:
- Whether the compressionMode field is set.
-
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;- Specified by:
getCompressionModein interfaceBackendBucketOrBuilder- Returns:
- The compressionMode.
-
getCompressionModeBytes
public 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;- Specified by:
getCompressionModeBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for compressionMode.
-
setCompressionMode
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;- Parameters:
value- The compressionMode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setCompressionModeBytes
public BackendBucket.Builder setCompressionModeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for compressionMode to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceBackendBucketOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceBackendBucketOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public BackendBucket.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public BackendBucket.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public BackendBucket.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
getCustomResponseHeadersList
public com.google.protobuf.ProtocolStringList getCustomResponseHeadersList()
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Specified by:
getCustomResponseHeadersListin interfaceBackendBucketOrBuilder- Returns:
- A list containing the customResponseHeaders.
-
getCustomResponseHeadersCount
public int getCustomResponseHeadersCount()
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Specified by:
getCustomResponseHeadersCountin interfaceBackendBucketOrBuilder- Returns:
- The count of customResponseHeaders.
-
getCustomResponseHeaders
public String getCustomResponseHeaders(int index)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Specified by:
getCustomResponseHeadersin interfaceBackendBucketOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The customResponseHeaders at the given index.
-
getCustomResponseHeadersBytes
public com.google.protobuf.ByteString getCustomResponseHeadersBytes(int index)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Specified by:
getCustomResponseHeadersBytesin interfaceBackendBucketOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customResponseHeaders at the given index.
-
setCustomResponseHeaders
public BackendBucket.Builder setCustomResponseHeaders(int index, String value)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Parameters:
index- The index to set the value at.value- The customResponseHeaders to set.- Returns:
- This builder for chaining.
-
addCustomResponseHeaders
public BackendBucket.Builder addCustomResponseHeaders(String value)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Parameters:
value- The customResponseHeaders to add.- Returns:
- This builder for chaining.
-
addAllCustomResponseHeaders
public BackendBucket.Builder addAllCustomResponseHeaders(Iterable<String> values)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Parameters:
values- The customResponseHeaders to add.- Returns:
- This builder for chaining.
-
clearCustomResponseHeaders
public BackendBucket.Builder clearCustomResponseHeaders()
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Returns:
- This builder for chaining.
-
addCustomResponseHeadersBytes
public BackendBucket.Builder addCustomResponseHeadersBytes(com.google.protobuf.ByteString value)
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Parameters:
value- The bytes of the customResponseHeaders to add.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceBackendBucketOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceBackendBucketOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for description.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- 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:
- This builder for chaining.
-
setDescriptionBytes
public BackendBucket.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasEdgeSecurityPolicyin interfaceBackendBucketOrBuilder- Returns:
- Whether the edgeSecurityPolicy field is set.
-
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;- Specified by:
getEdgeSecurityPolicyin interfaceBackendBucketOrBuilder- Returns:
- The edgeSecurityPolicy.
-
getEdgeSecurityPolicyBytes
public 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;- Specified by:
getEdgeSecurityPolicyBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for edgeSecurityPolicy.
-
setEdgeSecurityPolicy
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;- Parameters:
value- The edgeSecurityPolicy to set.- Returns:
- 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:
- This builder for chaining.
-
setEdgeSecurityPolicyBytes
public BackendBucket.Builder setEdgeSecurityPolicyBytes(com.google.protobuf.ByteString value)
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;- Parameters:
value- The bytes for edgeSecurityPolicy to set.- Returns:
- This builder for chaining.
-
hasEnableCdn
public boolean hasEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;- Specified by:
hasEnableCdnin interfaceBackendBucketOrBuilder- Returns:
- Whether the enableCdn field is set.
-
getEnableCdn
public boolean getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;- Specified by:
getEnableCdnin interfaceBackendBucketOrBuilder- Returns:
- The enableCdn.
-
setEnableCdn
public BackendBucket.Builder setEnableCdn(boolean value)
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;- Parameters:
value- The enableCdn to set.- Returns:
- This builder for chaining.
-
clearEnableCdn
public BackendBucket.Builder clearEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceBackendBucketOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceBackendBucketOrBuilder- Returns:
- The id.
-
setId
public BackendBucket.Builder setId(long value)
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public BackendBucket.Builder clearId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
Type of the resource.
optional string kind = 3292052;- Specified by:
hasKindin interfaceBackendBucketOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
Type of the resource.
optional string kind = 3292052;- Specified by:
getKindin interfaceBackendBucketOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
Type of the resource.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for kind.
-
setKind
public BackendBucket.Builder setKind(String value)
Type of the resource.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public BackendBucket.Builder clearKind()
Type of the resource.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public BackendBucket.Builder setKindBytes(com.google.protobuf.ByteString value)
Type of the resource.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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]([-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;- Specified by:
hasNamein interfaceBackendBucketOrBuilder- Returns:
- Whether the name field is set.
-
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]([-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;- Specified by:
getNamein interfaceBackendBucketOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for name.
-
setName
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]([-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;- Parameters:
value- The name to set.- Returns:
- 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]([-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:
- This builder for chaining.
-
setNameBytes
public BackendBucket.Builder setNameBytes(com.google.protobuf.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]([-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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceBackendBucketOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceBackendBucketOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public BackendBucket.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public BackendBucket.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public BackendBucket.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BackendBucket.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
mergeUnknownFields
public final BackendBucket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackendBucket.Builder>
-
-