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.GeneratedMessage.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.GeneratedMessage.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, readBackend Buckets.Protobuf type
google.cloud.compute.v1.BackendBucket-
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomResponseHeaders(Iterable<String> values) Headers that the Application Load Balancer should add to proxied responses.addAllUsedBy(Iterable<? extends BackendBucketUsedBy> values) Output only.addCustomResponseHeaders(String value) Headers that the Application Load Balancer should add to proxied responses.addCustomResponseHeadersBytes(com.google.protobuf.ByteString value) Headers that the Application Load Balancer should add to proxied responses.addUsedBy(int index, BackendBucketUsedBy value) Output only.addUsedBy(int index, BackendBucketUsedBy.Builder builderForValue) Output only.addUsedBy(BackendBucketUsedBy value) Output only.addUsedBy(BackendBucketUsedBy.Builder builderForValue) Output only.Output only.addUsedByBuilder(int index) Output only.build()clear()Cloud Storage bucket name.Cloud CDN configuration for this BackendBucket.Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.[Output Only] Creation timestamp inRFC3339 text format.Headers that the Application Load Balancer should add to proxied responses.An optional textual description of the resource; provided by the client when the resource is created.[Output Only] The resource URL for the edge security policy associated with this backend bucket.If true, enable Cloud CDN for this BackendBucket.clearId()[Output Only] Unique identifier for the resource; defined by the server.Output only.The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.Name of the resource.Input only.Output only.[Output Only] Server-defined URL for the resource.Output only.Cloud Storage bucket name.com.google.protobuf.ByteStringCloud Storage bucket name.Cloud CDN configuration for this BackendBucket.Cloud CDN configuration for this BackendBucket.Cloud CDN configuration for this BackendBucket.Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.com.google.protobuf.ByteStringCompress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.[Output Only] Creation timestamp inRFC3339 text format.com.google.protobuf.ByteString[Output Only] Creation timestamp inRFC3339 text format.getCustomResponseHeaders(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.intHeaders that the Application Load Balancer should add to proxied responses.com.google.protobuf.ProtocolStringListHeaders that the Application Load Balancer should add to proxied responses.An optional textual description of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringAn optional textual description of the resource; provided by the client when the resource is created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor[Output Only] The resource URL for the edge security policy associated with this backend bucket.com.google.protobuf.ByteString[Output Only] The resource URL for the edge security policy associated with this backend bucket.booleanIf true, enable Cloud CDN for this BackendBucket.longgetId()[Output Only] Unique identifier for the resource; defined by the server.getKind()Output only.com.google.protobuf.ByteStringOutput only.The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.com.google.protobuf.ByteStringThe value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.Input only.Input only.Input only.Output only.com.google.protobuf.ByteStringOutput only.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.getUsedBy(int index) Output only.getUsedByBuilder(int index) Output only.Output only.intOutput only.Output only.getUsedByOrBuilder(int index) Output only.List<? extends BackendBucketUsedByOrBuilder>Output only.booleanCloud Storage bucket name.booleanCloud CDN configuration for this BackendBucket.booleanCompress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.boolean[Output Only] Creation timestamp inRFC3339 text format.booleanAn optional textual description of the resource; provided by the client when the resource is created.boolean[Output Only] The resource URL for the edge security policy associated with this backend bucket.booleanIf true, enable Cloud CDN for this BackendBucket.booleanhasId()[Output Only] Unique identifier for the resource; defined by the server.booleanhasKind()Output only.booleanThe value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.booleanhasName()Name of the resource.booleanInput only.booleanOutput only.boolean[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanCloud CDN configuration for this BackendBucket.mergeFrom(BackendBucket other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParams(BackendBucketParams value) Input only.removeUsedBy(int index) Output only.setBucketName(String value) Cloud Storage bucket name.setBucketNameBytes(com.google.protobuf.ByteString value) Cloud Storage bucket name.Cloud CDN configuration for this BackendBucket.setCdnPolicy(BackendBucketCdnPolicy.Builder builderForValue) Cloud CDN configuration for this BackendBucket.setCompressionMode(String value) Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.setCompressionModeBytes(com.google.protobuf.ByteString value) Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.setCreationTimestamp(String value) [Output Only] Creation timestamp inRFC3339 text format.setCreationTimestampBytes(com.google.protobuf.ByteString value) [Output Only] Creation timestamp inRFC3339 text format.setCustomResponseHeaders(int index, String value) Headers that the Application Load Balancer should add to proxied responses.setDescription(String value) An optional textual description of the resource; provided by the client when the resource is created.setDescriptionBytes(com.google.protobuf.ByteString value) An optional textual description of the resource; provided by the client when the resource is created.setEdgeSecurityPolicy(String value) [Output Only] The resource URL for the edge security policy associated with this backend bucket.setEdgeSecurityPolicyBytes(com.google.protobuf.ByteString value) [Output Only] The resource URL for the edge security policy associated with this backend bucket.setEnableCdn(boolean value) If true, enable Cloud CDN for this BackendBucket.setId(long value) [Output Only] Unique identifier for the resource; defined by the server.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setLoadBalancingScheme(String value) The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.setLoadBalancingSchemeBytes(com.google.protobuf.ByteString value) The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.setParams(BackendBucketParams value) Input only.setParams(BackendBucketParams.Builder builderForValue) Input only.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.setSelfLink(String value) [Output Only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.setUsedBy(int index, BackendBucketUsedBy value) Output only.setUsedBy(int index, BackendBucketUsedBy.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BackendBucket.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<BackendBucket.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackendBucket.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Parameters:
value- The bucketName to set.- Returns:
- This builder for chaining.
-
clearBucketName
Cloud Storage bucket name.
optional string bucket_name = 283610048;- Returns:
- This builder for chaining.
-
setBucketNameBytes
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
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;- Specified by:
getCdnPolicyin interfaceBackendBucketOrBuilder- Returns:
- The cdnPolicy.
-
setCdnPolicy
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452; -
setCdnPolicy
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452; -
mergeCdnPolicy
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452; -
clearCdnPolicy
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452; -
getCdnPolicyBuilder
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452; -
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
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
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
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
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 inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceBackendBucketOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
[Output Only] Creation timestamp inRFC3339 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 inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
[Output Only] Creation timestamp inRFC3339 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
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
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
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
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
Headers that the Application Load Balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;- Returns:
- This builder for chaining.
-
addCustomResponseHeadersBytes
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
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
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
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
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
[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
[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
[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
[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
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
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
[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
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. Type of the resource.
optional string kind = 3292052;- Specified by:
hasKindin interfaceBackendBucketOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. Type of the resource.
optional string kind = 3292052;- Specified by:
getKindin interfaceBackendBucketOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. Type of the resource.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. Type of the resource.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. Type of the resource.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. Type of the resource.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasLoadBalancingScheme
public boolean hasLoadBalancingScheme()The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;- Specified by:
hasLoadBalancingSchemein interfaceBackendBucketOrBuilder- Returns:
- Whether the loadBalancingScheme field is set.
-
getLoadBalancingScheme
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;- Specified by:
getLoadBalancingSchemein interfaceBackendBucketOrBuilder- Returns:
- The loadBalancingScheme.
-
getLoadBalancingSchemeBytes
public com.google.protobuf.ByteString getLoadBalancingSchemeBytes()The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;- Specified by:
getLoadBalancingSchemeBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for loadBalancingScheme.
-
setLoadBalancingScheme
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;- Parameters:
value- The loadBalancingScheme to set.- Returns:
- This builder for chaining.
-
clearLoadBalancingScheme
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;- Returns:
- This builder for chaining.
-
setLoadBalancingSchemeBytes
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both. Check the LoadBalancingScheme enum for the list of possible values.
optional string load_balancing_scheme = 363890244;- Parameters:
value- The bytes for loadBalancingScheme 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 withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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 withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862;- Specified by:
hasParamsin interfaceBackendBucketOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862;- Specified by:
getParamsin interfaceBackendBucketOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.BackendBucketParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceBackendBucketOrBuilder
-
hasRegion
public boolean hasRegion()Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
hasRegionin interfaceBackendBucketOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionin interfaceBackendBucketOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceBackendBucketOrBuilder- Returns:
- The bytes for region.
-
setRegion
Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The bytes for region 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
[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
[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
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[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.
-
getUsedByList
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;- Specified by:
getUsedByListin interfaceBackendBucketOrBuilder
-
getUsedByCount
public int getUsedByCount()Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;- Specified by:
getUsedByCountin interfaceBackendBucketOrBuilder
-
getUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;- Specified by:
getUsedByin interfaceBackendBucketOrBuilder
-
setUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
setUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
addUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
addUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
addUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
addUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
addAllUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
clearUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
removeUsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
getUsedByBuilder
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
getUsedByOrBuilder
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;- Specified by:
getUsedByOrBuilderin interfaceBackendBucketOrBuilder
-
getUsedByOrBuilderList
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;- Specified by:
getUsedByOrBuilderListin interfaceBackendBucketOrBuilder
-
addUsedByBuilder
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
addUsedByBuilder
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729; -
getUsedByBuilderList
Output only. [Output Only] List of resources referencing that backend bucket.
repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;
-