- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public final class BackendBucket extends 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BackendBucketImplements
BackendBucketOrBuilderStatic Fields
BUCKET_NAME_FIELD_NUMBER
public static final int BUCKET_NAME_FIELD_NUMBER
Type | Description |
int |
CDN_POLICY_FIELD_NUMBER
public static final int CDN_POLICY_FIELD_NUMBER
Type | Description |
int |
COMPRESSION_MODE_FIELD_NUMBER
public static final int COMPRESSION_MODE_FIELD_NUMBER
Type | Description |
int |
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Type | Description |
int |
CUSTOM_RESPONSE_HEADERS_FIELD_NUMBER
public static final int CUSTOM_RESPONSE_HEADERS_FIELD_NUMBER
Type | Description |
int |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
EDGE_SECURITY_POLICY_FIELD_NUMBER
public static final int EDGE_SECURITY_POLICY_FIELD_NUMBER
Type | Description |
int |
ENABLE_CDN_FIELD_NUMBER
public static final int ENABLE_CDN_FIELD_NUMBER
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Type | Description |
int |
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BackendBucket getDefaultInstance()
Type | Description |
BackendBucket |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BackendBucket.Builder newBuilder()
Type | Description |
BackendBucket.Builder |
newBuilder(BackendBucket prototype)
public static BackendBucket.Builder newBuilder(BackendBucket prototype)
Name | Description |
prototype | BackendBucket |
Type | Description |
BackendBucket.Builder |
parseDelimitedFrom(InputStream input)
public static BackendBucket parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BackendBucket |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendBucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendBucket |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BackendBucket parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
BackendBucket |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackendBucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendBucket |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BackendBucket parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
BackendBucket |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendBucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendBucket |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BackendBucket parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
BackendBucket |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendBucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendBucket |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BackendBucket parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BackendBucket |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendBucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendBucket |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BackendBucket parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
BackendBucket |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackendBucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackendBucket |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BackendBucket> parser()
Type | Description |
Parser<BackendBucket> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBucketName()
public String getBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;
Type | Description |
String | The bucketName. |
getBucketNameBytes()
public ByteString getBucketNameBytes()
Cloud Storage bucket name.
optional string bucket_name = 283610048;
Type | Description |
ByteString | The bytes for bucketName. |
getCdnPolicy()
public BackendBucketCdnPolicy getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
Type | Description |
BackendBucketCdnPolicy | The cdnPolicy. |
getCdnPolicyOrBuilder()
public BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
Type | Description |
BackendBucketCdnPolicyOrBuilder |
getCompressionMode()
public String getCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;
Type | Description |
String | The compressionMode. |
getCompressionModeBytes()
public ByteString getCompressionModeBytes()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;
Type | Description |
ByteString | The bytes for compressionMode. |
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ByteString | The bytes for creationTimestamp. |
getCustomResponseHeaders(int index)
public String getCustomResponseHeaders(int index)
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The customResponseHeaders at the given index. |
getCustomResponseHeadersBytes(int index)
public ByteString getCustomResponseHeadersBytes(int index)
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the customResponseHeaders at the given index. |
getCustomResponseHeadersCount()
public int getCustomResponseHeadersCount()
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
Type | Description |
int | The count of customResponseHeaders. |
getCustomResponseHeadersList()
public ProtocolStringList getCustomResponseHeadersList()
Headers that the HTTP/S load balancer should add to proxied responses.
repeated string custom_response_headers = 387539094;
Type | Description |
ProtocolStringList | A list containing the customResponseHeaders. |
getDefaultInstanceForType()
public BackendBucket getDefaultInstanceForType()
Type | Description |
BackendBucket |
getDescription()
public String getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
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;
Type | Description |
String | The edgeSecurityPolicy. |
getEdgeSecurityPolicyBytes()
public ByteString getEdgeSecurityPolicyBytes()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;
Type | Description |
ByteString | The bytes for edgeSecurityPolicy. |
getEnableCdn()
public boolean getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;
Type | Description |
boolean | The enableCdn. |
getId()
public long getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getKind()
public String getKind()
Type of the resource.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
Type of the resource.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getName()
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<BackendBucket> getParserForType()
Type | Description |
Parser<BackendBucket> |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasBucketName()
public boolean hasBucketName()
Cloud Storage bucket name.
optional string bucket_name = 283610048;
Type | Description |
boolean | Whether the bucketName field is set. |
hasCdnPolicy()
public boolean hasCdnPolicy()
Cloud CDN configuration for this BackendBucket.
optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;
Type | Description |
boolean | Whether the cdnPolicy field is set. |
hasCompressionMode()
public boolean hasCompressionMode()
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
optional string compression_mode = 95520988;
Type | Description |
boolean | Whether the compressionMode field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDescription()
public boolean hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
hasEdgeSecurityPolicy()
public boolean hasEdgeSecurityPolicy()
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
optional string edge_security_policy = 41036943;
Type | Description |
boolean | Whether the edgeSecurityPolicy field is set. |
hasEnableCdn()
public boolean hasEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
optional bool enable_cdn = 282942321;
Type | Description |
boolean | Whether the enableCdn field is set. |
hasId()
public boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public boolean hasKind()
Type of the resource.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasName()
public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public BackendBucket.Builder newBuilderForType()
Type | Description |
BackendBucket.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackendBucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
BackendBucket.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BackendBucket.Builder toBuilder()
Type | Description |
BackendBucket.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |