public static final class AWSV4Signature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder> implements AWSV4SignatureOrBuilder
Messages Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to 's3'.Protobuf type
google.cloud.compute.v1.AWSV4Signature| Modifier and Type | Method and Description |
|---|---|
AWSV4Signature.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AWSV4Signature |
build() |
AWSV4Signature |
buildPartial() |
AWSV4Signature.Builder |
clear() |
AWSV4Signature.Builder |
clearAccessKey()
The access key used for s3 bucket authentication.
|
AWSV4Signature.Builder |
clearAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
|
AWSV4Signature.Builder |
clearAccessKeyVersion()
The optional version identifier for the access key.
|
AWSV4Signature.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AWSV4Signature.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AWSV4Signature.Builder |
clearOriginRegion()
The name of the cloud region of your origin.
|
AWSV4Signature.Builder |
clone() |
String |
getAccessKey()
The access key used for s3 bucket authentication.
|
com.google.protobuf.ByteString |
getAccessKeyBytes()
The access key used for s3 bucket authentication.
|
String |
getAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
|
com.google.protobuf.ByteString |
getAccessKeyIdBytes()
The identifier of an access key used for s3 bucket authentication.
|
String |
getAccessKeyVersion()
The optional version identifier for the access key.
|
com.google.protobuf.ByteString |
getAccessKeyVersionBytes()
The optional version identifier for the access key.
|
AWSV4Signature |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getOriginRegion()
The name of the cloud region of your origin.
|
com.google.protobuf.ByteString |
getOriginRegionBytes()
The name of the cloud region of your origin.
|
boolean |
hasAccessKey()
The access key used for s3 bucket authentication.
|
boolean |
hasAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
|
boolean |
hasAccessKeyVersion()
The optional version identifier for the access key.
|
boolean |
hasOriginRegion()
The name of the cloud region of your origin.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AWSV4Signature.Builder |
mergeFrom(AWSV4Signature other) |
AWSV4Signature.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AWSV4Signature.Builder |
mergeFrom(com.google.protobuf.Message other) |
AWSV4Signature.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AWSV4Signature.Builder |
setAccessKey(String value)
The access key used for s3 bucket authentication.
|
AWSV4Signature.Builder |
setAccessKeyBytes(com.google.protobuf.ByteString value)
The access key used for s3 bucket authentication.
|
AWSV4Signature.Builder |
setAccessKeyId(String value)
The identifier of an access key used for s3 bucket authentication.
|
AWSV4Signature.Builder |
setAccessKeyIdBytes(com.google.protobuf.ByteString value)
The identifier of an access key used for s3 bucket authentication.
|
AWSV4Signature.Builder |
setAccessKeyVersion(String value)
The optional version identifier for the access key.
|
AWSV4Signature.Builder |
setAccessKeyVersionBytes(com.google.protobuf.ByteString value)
The optional version identifier for the access key.
|
AWSV4Signature.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AWSV4Signature.Builder |
setOriginRegion(String value)
The name of the cloud region of your origin.
|
AWSV4Signature.Builder |
setOriginRegionBytes(com.google.protobuf.ByteString value)
The name of the cloud region of your origin.
|
AWSV4Signature.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AWSV4Signature.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AWSV4Signature build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AWSV4Signature buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AWSV4Signature.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder mergeFrom(AWSV4Signature other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public AWSV4Signature.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AWSV4Signature.Builder>IOExceptionpublic boolean hasAccessKey()
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
optional string access_key = 468922628;hasAccessKey in interface AWSV4SignatureOrBuilderpublic String getAccessKey()
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
optional string access_key = 468922628;getAccessKey in interface AWSV4SignatureOrBuilderpublic com.google.protobuf.ByteString getAccessKeyBytes()
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
optional string access_key = 468922628;getAccessKeyBytes in interface AWSV4SignatureOrBuilderpublic AWSV4Signature.Builder setAccessKey(String value)
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
optional string access_key = 468922628;value - The accessKey to set.public AWSV4Signature.Builder clearAccessKey()
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
optional string access_key = 468922628;public AWSV4Signature.Builder setAccessKeyBytes(com.google.protobuf.ByteString value)
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
optional string access_key = 468922628;value - The bytes for accessKey to set.public boolean hasAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;hasAccessKeyId in interface AWSV4SignatureOrBuilderpublic String getAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;getAccessKeyId in interface AWSV4SignatureOrBuilderpublic com.google.protobuf.ByteString getAccessKeyIdBytes()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;getAccessKeyIdBytes in interface AWSV4SignatureOrBuilderpublic AWSV4Signature.Builder setAccessKeyId(String value)
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;value - The accessKeyId to set.public AWSV4Signature.Builder clearAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;public AWSV4Signature.Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value)
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;value - The bytes for accessKeyId to set.public boolean hasAccessKeyVersion()
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
optional string access_key_version = 80261277;hasAccessKeyVersion in interface AWSV4SignatureOrBuilderpublic String getAccessKeyVersion()
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
optional string access_key_version = 80261277;getAccessKeyVersion in interface AWSV4SignatureOrBuilderpublic com.google.protobuf.ByteString getAccessKeyVersionBytes()
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
optional string access_key_version = 80261277;getAccessKeyVersionBytes in interface AWSV4SignatureOrBuilderpublic AWSV4Signature.Builder setAccessKeyVersion(String value)
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
optional string access_key_version = 80261277;value - The accessKeyVersion to set.public AWSV4Signature.Builder clearAccessKeyVersion()
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
optional string access_key_version = 80261277;public AWSV4Signature.Builder setAccessKeyVersionBytes(com.google.protobuf.ByteString value)
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
optional string access_key_version = 80261277;value - The bytes for accessKeyVersion to set.public boolean hasOriginRegion()
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
optional string origin_region = 265305645;hasOriginRegion in interface AWSV4SignatureOrBuilderpublic String getOriginRegion()
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
optional string origin_region = 265305645;getOriginRegion in interface AWSV4SignatureOrBuilderpublic com.google.protobuf.ByteString getOriginRegionBytes()
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
optional string origin_region = 265305645;getOriginRegionBytes in interface AWSV4SignatureOrBuilderpublic AWSV4Signature.Builder setOriginRegion(String value)
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
optional string origin_region = 265305645;value - The originRegion to set.public AWSV4Signature.Builder clearOriginRegion()
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
optional string origin_region = 265305645;public AWSV4Signature.Builder setOriginRegionBytes(com.google.protobuf.ByteString value)
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
optional string origin_region = 265305645;value - The bytes for originRegion to set.public final AWSV4Signature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>public final AWSV4Signature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AWSV4Signature.Builder>Copyright © 2025 Google LLC. All rights reserved.