public final class BackendBucket extends com.google.protobuf.GeneratedMessageV3 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 type
google.cloud.compute.v1.BackendBucket| Modifier and Type | Class and Description |
|---|---|
static class |
BackendBucket.Builder
Represents a Cloud Storage Bucket resource.
|
static class |
BackendBucket.CompressionMode
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BUCKET_NAME_FIELD_NUMBER |
static int |
CDN_POLICY_FIELD_NUMBER |
static int |
COMPRESSION_MODE_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
CUSTOM_RESPONSE_HEADERS_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
EDGE_SECURITY_POLICY_FIELD_NUMBER |
static int |
ENABLE_CDN_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBucketName()
Cloud Storage bucket name.
|
com.google.protobuf.ByteString |
getBucketNameBytes()
Cloud Storage bucket name.
|
BackendBucketCdnPolicy |
getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
|
BackendBucketCdnPolicyOrBuilder |
getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendBucket.
|
String |
getCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
com.google.protobuf.ByteString |
getCompressionModeBytes()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getCustomResponseHeaders(int index)
Headers that the HTTP/S load balancer should add to proxied responses.
|
com.google.protobuf.ByteString |
getCustomResponseHeadersBytes(int index)
Headers that the HTTP/S load balancer should add to proxied responses.
|
int |
getCustomResponseHeadersCount()
Headers that the HTTP/S load balancer should add to proxied responses.
|
com.google.protobuf.ProtocolStringList |
getCustomResponseHeadersList()
Headers that the HTTP/S load balancer should add to proxied responses.
|
static BackendBucket |
getDefaultInstance() |
BackendBucket |
getDefaultInstanceForType() |
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional textual description of the resource; provided by the client when the resource is created.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
|
com.google.protobuf.ByteString |
getEdgeSecurityPolicyBytes()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
|
boolean |
getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
|
long |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
String |
getKind()
Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
com.google.protobuf.Parser<BackendBucket> |
getParserForType() |
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBucketName()
Cloud Storage bucket name.
|
boolean |
hasCdnPolicy()
Cloud CDN configuration for this BackendBucket.
|
boolean |
hasCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
|
boolean |
hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
|
boolean |
hasEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] Unique identifier for the resource; defined by the server.
|
boolean |
hasKind()
Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BackendBucket.Builder |
newBuilder() |
static BackendBucket.Builder |
newBuilder(BackendBucket prototype) |
BackendBucket.Builder |
newBuilderForType() |
protected BackendBucket.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BackendBucket |
parseDelimitedFrom(InputStream input) |
static BackendBucket |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackendBucket |
parseFrom(byte[] data) |
static BackendBucket |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackendBucket |
parseFrom(ByteBuffer data) |
static BackendBucket |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackendBucket |
parseFrom(com.google.protobuf.ByteString data) |
static BackendBucket |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackendBucket |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BackendBucket |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackendBucket |
parseFrom(InputStream input) |
static BackendBucket |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BackendBucket> |
parser() |
BackendBucket.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BUCKET_NAME_FIELD_NUMBER
public static final int CDN_POLICY_FIELD_NUMBER
public static final int COMPRESSION_MODE_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CUSTOM_RESPONSE_HEADERS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int EDGE_SECURITY_POLICY_FIELD_NUMBER
public static final int ENABLE_CDN_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;hasBucketName in interface BackendBucketOrBuilderpublic String getBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;getBucketName in interface BackendBucketOrBuilderpublic com.google.protobuf.ByteString getBucketNameBytes()
Cloud Storage bucket name.
optional string bucket_name = 283610048;getBucketNameBytes in interface BackendBucketOrBuilderpublic boolean hasCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;hasCdnPolicy in interface BackendBucketOrBuilderpublic BackendBucketCdnPolicy getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;getCdnPolicy in interface BackendBucketOrBuilderpublic BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;getCdnPolicyOrBuilder in interface BackendBucketOrBuilderpublic 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;hasCompressionMode in interface BackendBucketOrBuilderpublic 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;getCompressionMode in interface BackendBucketOrBuilderpublic 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;getCompressionModeBytes in interface BackendBucketOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface BackendBucketOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface BackendBucketOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface BackendBucketOrBuilderpublic com.google.protobuf.ProtocolStringList getCustomResponseHeadersList()
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;getCustomResponseHeadersList in interface BackendBucketOrBuilderpublic int getCustomResponseHeadersCount()
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;getCustomResponseHeadersCount in interface BackendBucketOrBuilderpublic String getCustomResponseHeaders(int index)
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;getCustomResponseHeaders in interface BackendBucketOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCustomResponseHeadersBytes(int index)
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;getCustomResponseHeadersBytes in interface BackendBucketOrBuilderindex - The index of the value to return.public boolean hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;hasDescription in interface BackendBucketOrBuilderpublic String getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;getDescription in interface BackendBucketOrBuilderpublic 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;getDescriptionBytes in interface BackendBucketOrBuilderpublic boolean hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;hasEdgeSecurityPolicy in interface BackendBucketOrBuilderpublic String getEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;getEdgeSecurityPolicy in interface BackendBucketOrBuilderpublic 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;getEdgeSecurityPolicyBytes in interface BackendBucketOrBuilderpublic boolean hasEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;hasEnableCdn in interface BackendBucketOrBuilderpublic boolean getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;getEnableCdn in interface BackendBucketOrBuilderpublic boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;hasId in interface BackendBucketOrBuilderpublic long getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;getId in interface BackendBucketOrBuilderpublic boolean hasKind()
Type of the resource.
optional string kind = 3292052;hasKind in interface BackendBucketOrBuilderpublic String getKind()
Type of the resource.
optional string kind = 3292052;getKind in interface BackendBucketOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
Type of the resource.
optional string kind = 3292052;getKindBytes in interface BackendBucketOrBuilderpublic 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;hasName in interface BackendBucketOrBuilderpublic 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;getName in interface BackendBucketOrBuilderpublic 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;getNameBytes in interface BackendBucketOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface BackendBucketOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface BackendBucketOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface BackendBucketOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BackendBucket parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackendBucket parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackendBucket parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackendBucket parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackendBucket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackendBucket parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackendBucket parseFrom(InputStream input) throws IOException
IOExceptionpublic static BackendBucket parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BackendBucket parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BackendBucket parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BackendBucket parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BackendBucket parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BackendBucket.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BackendBucket.Builder newBuilder()
public static BackendBucket.Builder newBuilder(BackendBucket prototype)
public BackendBucket.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BackendBucket.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BackendBucket getDefaultInstance()
public static com.google.protobuf.Parser<BackendBucket> parser()
public com.google.protobuf.Parser<BackendBucket> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BackendBucket getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.