public final class AWSV4Signature extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACCESS_KEY_FIELD_NUMBER
public static final int ACCESS_KEY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ACCESS_KEY_ID_FIELD_NUMBER
public static final int ACCESS_KEY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ACCESS_KEY_VERSION_FIELD_NUMBER
public static final int ACCESS_KEY_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORIGIN_REGION_FIELD_NUMBER
public static final int ORIGIN_REGION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AWSV4Signature getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AWSV4Signature.Builder newBuilder()
newBuilder(AWSV4Signature prototype)
public static AWSV4Signature.Builder newBuilder(AWSV4Signature prototype)
public static AWSV4Signature parseDelimitedFrom(InputStream input)
public static AWSV4Signature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AWSV4Signature parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AWSV4Signature parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AWSV4Signature parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AWSV4Signature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AWSV4Signature parseFrom(CodedInputStream input)
public static AWSV4Signature parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AWSV4Signature parseFrom(InputStream input)
public static AWSV4Signature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AWSV4Signature parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AWSV4Signature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AWSV4Signature> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAccessKey()
public 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;
Returns |
Type |
Description |
String |
The accessKey.
|
getAccessKeyBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for accessKey.
|
getAccessKeyId()
public String getAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;
Returns |
Type |
Description |
String |
The accessKeyId.
|
getAccessKeyIdBytes()
public ByteString getAccessKeyIdBytes()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;
Returns |
Type |
Description |
ByteString |
The bytes for accessKeyId.
|
getAccessKeyVersion()
public 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;
Returns |
Type |
Description |
String |
The accessKeyVersion.
|
getAccessKeyVersionBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for accessKeyVersion.
|
getDefaultInstanceForType()
public AWSV4Signature getDefaultInstanceForType()
getOriginRegion()
public 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;
Returns |
Type |
Description |
String |
The originRegion.
|
getOriginRegionBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for originRegion.
|
getParserForType()
public Parser<AWSV4Signature> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
Returns |
Type |
Description |
boolean |
Whether the accessKey field is set.
|
hasAccessKeyId()
public boolean hasAccessKeyId()
The identifier of an access key used for s3 bucket authentication.
optional string access_key_id = 292975158;
Returns |
Type |
Description |
boolean |
Whether the accessKeyId field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the accessKeyVersion field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the originRegion field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AWSV4Signature.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AWSV4Signature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AWSV4Signature.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides