public static final class TransferTypes.AwsS3Data extends com.google.protobuf.GeneratedMessageV3 implements TransferTypes.AwsS3DataOrBuilder
An AwsS3Data resource can be a data source, but not a data sink. In an AwsS3Data resource, an object's name is the S3 object's key name.Protobuf type
google.storagetransfer.v1.AwsS3Data| Modifier and Type | Class and Description |
|---|---|
static class |
TransferTypes.AwsS3Data.Builder
An AwsS3Data resource can be a data source, but not a data sink.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AWS_ACCESS_KEY_FIELD_NUMBER |
static int |
BUCKET_NAME_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
ROLE_ARN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TransferTypes.AwsAccessKey |
getAwsAccessKey()
Input only.
|
TransferTypes.AwsAccessKeyOrBuilder |
getAwsAccessKeyOrBuilder()
Input only.
|
String |
getBucketName()
Required.
|
com.google.protobuf.ByteString |
getBucketNameBytes()
Required.
|
static TransferTypes.AwsS3Data |
getDefaultInstance() |
TransferTypes.AwsS3Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<TransferTypes.AwsS3Data> |
getParserForType() |
String |
getPath()
Root path to transfer objects.
|
com.google.protobuf.ByteString |
getPathBytes()
Root path to transfer objects.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role to support temporary
credentials via `AssumeRoleWithWebIdentity`.
|
com.google.protobuf.ByteString |
getRoleArnBytes()
The Amazon Resource Name (ARN) of the role to support temporary
credentials via `AssumeRoleWithWebIdentity`.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAwsAccessKey()
Input only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferTypes.AwsS3Data.Builder |
newBuilder() |
static TransferTypes.AwsS3Data.Builder |
newBuilder(TransferTypes.AwsS3Data prototype) |
TransferTypes.AwsS3Data.Builder |
newBuilderForType() |
protected TransferTypes.AwsS3Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransferTypes.AwsS3Data |
parseDelimitedFrom(InputStream input) |
static TransferTypes.AwsS3Data |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.AwsS3Data |
parseFrom(byte[] data) |
static TransferTypes.AwsS3Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.AwsS3Data |
parseFrom(ByteBuffer data) |
static TransferTypes.AwsS3Data |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.AwsS3Data |
parseFrom(com.google.protobuf.ByteString data) |
static TransferTypes.AwsS3Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.AwsS3Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferTypes.AwsS3Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.AwsS3Data |
parseFrom(InputStream input) |
static TransferTypes.AwsS3Data |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferTypes.AwsS3Data> |
parser() |
TransferTypes.AwsS3Data.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BUCKET_NAME_FIELD_NUMBER
public static final int AWS_ACCESS_KEY_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int ROLE_ARN_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getBucketName()
Required. S3 Bucket name (see [Creating a bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)).
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];getBucketName in interface TransferTypes.AwsS3DataOrBuilderpublic com.google.protobuf.ByteString getBucketNameBytes()
Required. S3 Bucket name (see [Creating a bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)).
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];getBucketNameBytes in interface TransferTypes.AwsS3DataOrBuilderpublic boolean hasAwsAccessKey()
Input only. AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials).
.google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
hasAwsAccessKey in interface TransferTypes.AwsS3DataOrBuilderpublic TransferTypes.AwsAccessKey getAwsAccessKey()
Input only. AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials).
.google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
getAwsAccessKey in interface TransferTypes.AwsS3DataOrBuilderpublic TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder()
Input only. AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials).
.google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
getAwsAccessKeyOrBuilder in interface TransferTypes.AwsS3DataOrBuilderpublic String getPath()
Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
string path = 3;getPath in interface TransferTypes.AwsS3DataOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
string path = 3;getPathBytes in interface TransferTypes.AwsS3DataOrBuilderpublic String getRoleArn()
The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the [GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] for this project.
string role_arn = 4;getRoleArn in interface TransferTypes.AwsS3DataOrBuilderpublic com.google.protobuf.ByteString getRoleArnBytes()
The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the [GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] for this project.
string role_arn = 4;getRoleArnBytes in interface TransferTypes.AwsS3DataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransferTypes.AwsS3Data parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.AwsS3Data parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.AwsS3Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.AwsS3Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.AwsS3Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.AwsS3Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.AwsS3Data parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.AwsS3Data parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.AwsS3Data parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.AwsS3Data parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.AwsS3Data parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferTypes.AwsS3Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferTypes.AwsS3Data.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferTypes.AwsS3Data.Builder newBuilder()
public static TransferTypes.AwsS3Data.Builder newBuilder(TransferTypes.AwsS3Data prototype)
public TransferTypes.AwsS3Data.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferTypes.AwsS3Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferTypes.AwsS3Data getDefaultInstance()
public static com.google.protobuf.Parser<TransferTypes.AwsS3Data> parser()
public com.google.protobuf.Parser<TransferTypes.AwsS3Data> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferTypes.AwsS3Data getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.