Package com.google.cloud.compute.v1
Class AWSV4Signature
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.AWSV4Signature
- All Implemented Interfaces:
AWSV4SignatureOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AWSV4Signature
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessages Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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 AWSV4Signaturestatic final com.google.protobuf.Descriptors.DescriptorThe name of the cloud region of your origin.com.google.protobuf.ByteStringThe name of the cloud region of your origin.com.google.protobuf.Parser<AWSV4Signature>intbooleanThe 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.inthashCode()booleanThe name of the cloud region of your origin.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AWSV4Signature.Builderstatic AWSV4Signature.BuildernewBuilder(AWSV4Signature prototype) protected AWSV4Signature.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AWSV4SignatureparseDelimitedFrom(InputStream input) static AWSV4SignatureparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AWSV4SignatureparseFrom(byte[] data) static AWSV4SignatureparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AWSV4SignatureparseFrom(com.google.protobuf.ByteString data) static AWSV4SignatureparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AWSV4SignatureparseFrom(com.google.protobuf.CodedInputStream input) static AWSV4SignatureparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AWSV4SignatureparseFrom(InputStream input) static AWSV4SignatureparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AWSV4SignatureparseFrom(ByteBuffer data) static AWSV4SignatureparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AWSV4Signature>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACCESS_KEY_FIELD_NUMBER
public static final int ACCESS_KEY_FIELD_NUMBER- See Also:
-
ACCESS_KEY_ID_FIELD_NUMBER
public static final int ACCESS_KEY_ID_FIELD_NUMBER- See Also:
-
ACCESS_KEY_VERSION_FIELD_NUMBER
public static final int ACCESS_KEY_VERSION_FIELD_NUMBER- See Also:
-
ORIGIN_REGION_FIELD_NUMBER
public static final int ORIGIN_REGION_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AWSV4Signature parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AWSV4Signature parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AWSV4Signature parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AWSV4Signature parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AWSV4Signature parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AWSV4Signature parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AWSV4Signature parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AWSV4Signature parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AWSV4Signature parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AWSV4Signature parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AWSV4Signature.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-