Package com.google.cloud.compute.v1
Class AWSV4Signature.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AWSV4Signature.Builder>
com.google.cloud.compute.v1.AWSV4Signature.Builder
- All Implemented Interfaces:
AWSV4SignatureOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AWSV4Signature
public static final class AWSV4Signature.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The access key used for s3 bucket authentication.The identifier of an access key used for s3 bucket authentication.The optional version identifier for the access key.The name of the cloud region of your origin.The access key used for s3 bucket authentication.com.google.protobuf.ByteStringThe access key used for s3 bucket authentication.The identifier of an access key used for s3 bucket authentication.com.google.protobuf.ByteStringThe identifier of an access key used for s3 bucket authentication.The optional version identifier for the access key.com.google.protobuf.ByteStringThe optional version identifier for the access key.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the cloud region of your origin.com.google.protobuf.ByteStringThe name of the cloud region of your origin.booleanThe access key used for s3 bucket authentication.booleanThe identifier of an access key used for s3 bucket authentication.booleanThe optional version identifier for the access key.booleanThe name of the cloud region of your origin.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AWSV4Signature other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAccessKey(String value) The access key used for s3 bucket authentication.setAccessKeyBytes(com.google.protobuf.ByteString value) The access key used for s3 bucket authentication.setAccessKeyId(String value) The identifier of an access key used for s3 bucket authentication.setAccessKeyIdBytes(com.google.protobuf.ByteString value) The identifier of an access key used for s3 bucket authentication.setAccessKeyVersion(String value) The optional version identifier for the access key.setAccessKeyVersionBytes(com.google.protobuf.ByteString value) The optional version identifier for the access key.setOriginRegion(String value) The name of the cloud region of your origin.setOriginRegionBytes(com.google.protobuf.ByteString value) The name of the cloud region of your origin.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<AWSV4Signature.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<AWSV4Signature.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<AWSV4Signature.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<AWSV4Signature.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AWSV4Signature.Builder>
-
mergeFrom
public AWSV4Signature.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<AWSV4Signature.Builder>- Throws:
IOException
-
hasAccessKey
public 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;- Specified by:
hasAccessKeyin interfaceAWSV4SignatureOrBuilder- Returns:
- Whether the accessKey field is set.
-
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;- Specified by:
getAccessKeyin interfaceAWSV4SignatureOrBuilder- Returns:
- The accessKey.
-
getAccessKeyBytes
public 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;- Specified by:
getAccessKeyBytesin interfaceAWSV4SignatureOrBuilder- Returns:
- The bytes for accessKey.
-
setAccessKey
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;- Parameters:
value- The accessKey to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAccessKeyBytes
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;- Parameters:
value- The bytes for accessKey to set.- Returns:
- This builder for chaining.
-
hasAccessKeyId
public boolean hasAccessKeyId()The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;- Specified by:
hasAccessKeyIdin interfaceAWSV4SignatureOrBuilder- Returns:
- Whether the accessKeyId field is set.
-
getAccessKeyId
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;- Specified by:
getAccessKeyIdin interfaceAWSV4SignatureOrBuilder- Returns:
- The accessKeyId.
-
getAccessKeyIdBytes
public com.google.protobuf.ByteString getAccessKeyIdBytes()The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;- Specified by:
getAccessKeyIdBytesin interfaceAWSV4SignatureOrBuilder- Returns:
- The bytes for accessKeyId.
-
setAccessKeyId
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;- Parameters:
value- The accessKeyId to set.- Returns:
- This builder for chaining.
-
clearAccessKeyId
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;- Returns:
- This builder for chaining.
-
setAccessKeyIdBytes
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;- Parameters:
value- The bytes for accessKeyId to set.- Returns:
- This builder for chaining.
-
hasAccessKeyVersion
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;- Specified by:
hasAccessKeyVersionin interfaceAWSV4SignatureOrBuilder- Returns:
- Whether the accessKeyVersion field is set.
-
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;- Specified by:
getAccessKeyVersionin interfaceAWSV4SignatureOrBuilder- Returns:
- The accessKeyVersion.
-
getAccessKeyVersionBytes
public 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;- Specified by:
getAccessKeyVersionBytesin interfaceAWSV4SignatureOrBuilder- Returns:
- The bytes for accessKeyVersion.
-
setAccessKeyVersion
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;- Parameters:
value- The accessKeyVersion to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAccessKeyVersionBytes
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;- Parameters:
value- The bytes for accessKeyVersion to set.- Returns:
- This builder for chaining.
-
hasOriginRegion
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;- Specified by:
hasOriginRegionin interfaceAWSV4SignatureOrBuilder- Returns:
- Whether the originRegion field is set.
-
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;- Specified by:
getOriginRegionin interfaceAWSV4SignatureOrBuilder- Returns:
- The originRegion.
-
getOriginRegionBytes
public 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;- Specified by:
getOriginRegionBytesin interfaceAWSV4SignatureOrBuilder- Returns:
- The bytes for originRegion.
-
setOriginRegion
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;- Parameters:
value- The originRegion to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setOriginRegionBytes
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;- Parameters:
value- The bytes for originRegion to set.- Returns:
- This builder for chaining.
-