public static final class TransferTypes.AwsS3CompatibleData extends GeneratedMessageV3 implements TransferTypes.AwsS3CompatibleDataOrBuilder
An AwsS3CompatibleData resource.
Protobuf type google.storagetransfer.v1.AwsS3CompatibleData
Static Fields
BUCKET_NAME_FIELD_NUMBER
public static final int BUCKET_NAME_FIELD_NUMBER
Field Value
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
Field Value
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value
public static final int S3_METADATA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferTypes.AwsS3CompatibleData getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferTypes.AwsS3CompatibleData.Builder newBuilder()
Returns
newBuilder(TransferTypes.AwsS3CompatibleData prototype)
public static TransferTypes.AwsS3CompatibleData.Builder newBuilder(TransferTypes.AwsS3CompatibleData prototype)
Parameter
Returns
public static TransferTypes.AwsS3CompatibleData parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.AwsS3CompatibleData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferTypes.AwsS3CompatibleData parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AwsS3CompatibleData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferTypes.AwsS3CompatibleData parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AwsS3CompatibleData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.AwsS3CompatibleData parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.AwsS3CompatibleData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferTypes.AwsS3CompatibleData parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferTypes.AwsS3CompatibleData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferTypes.AwsS3CompatibleData parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.AwsS3CompatibleData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferTypes.AwsS3CompatibleData> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBucketName()
public String getBucketName()
Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The bucketName.
|
getBucketNameBytes()
public ByteString getBucketNameBytes()
Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for bucketName.
|
getDataProviderCase()
public TransferTypes.AwsS3CompatibleData.DataProviderCase getDataProviderCase()
Returns
getDefaultInstanceForType()
public TransferTypes.AwsS3CompatibleData getDefaultInstanceForType()
Returns
getEndpoint()
public String getEndpoint()
Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The endpoint.
|
getEndpointBytes()
public ByteString getEndpointBytes()
Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for endpoint.
|
getParserForType()
public Parser<TransferTypes.AwsS3CompatibleData> getParserForType()
Returns
Overrides
getPath()
Specifies the 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 = 2;
Returns
Type |
Description |
String |
The path.
|
getPathBytes()
public ByteString getPathBytes()
Specifies the 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 = 2;
Returns
getRegion()
public String getRegion()
Specifies the region to sign requests with. This can be left blank if
requests should be signed with an empty region.
string region = 5;
Returns
Type |
Description |
String |
The region.
|
getRegionBytes()
public ByteString getRegionBytes()
Specifies the region to sign requests with. This can be left blank if
requests should be signed with an empty region.
string region = 5;
Returns
public TransferTypes.S3CompatibleMetadata getS3Metadata()
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
Returns
public TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder()
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasS3Metadata()
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;
Returns
Type |
Description |
boolean |
Whether the s3Metadata field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferTypes.AwsS3CompatibleData.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.AwsS3CompatibleData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferTypes.AwsS3CompatibleData.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions