Class TransferTypes.AwsS3CompatibleData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.AwsS3CompatibleDataOrBuilder,Cloneable
- Enclosing class:
- TransferTypes.AwsS3CompatibleData
public static final class TransferTypes.AwsS3CompatibleData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
implements TransferTypes.AwsS3CompatibleDataOrBuilder
An AwsS3CompatibleData resource.Protobuf type
google.storagetransfer.v1.AwsS3CompatibleData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Specifies the root path to transfer objects.Specifies the region to sign requests with.A S3 compatible metadata.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getPath()Specifies the root path to transfer objects.com.google.protobuf.ByteStringSpecifies the root path to transfer objects.Specifies the region to sign requests with.com.google.protobuf.ByteStringSpecifies the region to sign requests with.A S3 compatible metadata.A S3 compatible metadata.A S3 compatible metadata.booleanA S3 compatible metadata.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A S3 compatible metadata.setBucketName(String value) Required.setBucketNameBytes(com.google.protobuf.ByteString value) Required.setEndpoint(String value) Required.setEndpointBytes(com.google.protobuf.ByteString value) Required.Specifies the root path to transfer objects.setPathBytes(com.google.protobuf.ByteString value) Specifies the root path to transfer objects.Specifies the region to sign requests with.setRegionBytes(com.google.protobuf.ByteString value) Specifies the region to sign requests with.A S3 compatible metadata.setS3Metadata(TransferTypes.S3CompatibleMetadata.Builder builderForValue) A S3 compatible metadata.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<TransferTypes.AwsS3CompatibleData.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<TransferTypes.AwsS3CompatibleData.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<TransferTypes.AwsS3CompatibleData.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<TransferTypes.AwsS3CompatibleData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.AwsS3CompatibleData.Builder>
-
mergeFrom
public TransferTypes.AwsS3CompatibleData.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<TransferTypes.AwsS3CompatibleData.Builder>- Throws:
IOException
-
getDataProviderCase
- Specified by:
getDataProviderCasein interfaceTransferTypes.AwsS3CompatibleDataOrBuilder
-
clearDataProvider
-
getBucketName
Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBucketNamein interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The bucketName.
-
getBucketNameBytes
public com.google.protobuf.ByteString getBucketNameBytes()Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBucketNameBytesin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The bytes for bucketName.
-
setBucketName
Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bucketName to set.- Returns:
- This builder for chaining.
-
clearBucketName
Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setBucketNameBytes
public TransferTypes.AwsS3CompatibleData.Builder setBucketNameBytes(com.google.protobuf.ByteString value) Required. Specifies the name of the bucket.
string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for bucketName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getPathin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.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;- Specified by:
getPathBytesin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The bytes for path.
-
setPath
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;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
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:
- This builder for chaining.
-
setPathBytes
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;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getEndpoint
Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEndpointin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEndpointBytesin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setEndpointBytes
public TransferTypes.AwsS3CompatibleData.Builder setEndpointBytes(com.google.protobuf.ByteString value) Required. Specifies the endpoint of the storage service.
string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getRegionin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.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;- Specified by:
getRegionBytesin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The bytes for region.
-
setRegion
Specifies the region to sign requests with. This can be left blank if requests should be signed with an empty region.
string region = 5;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
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:
- This builder for chaining.
-
setRegionBytes
public TransferTypes.AwsS3CompatibleData.Builder setRegionBytes(com.google.protobuf.ByteString value) Specifies the region to sign requests with. This can be left blank if requests should be signed with an empty region.
string region = 5;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasS3Metadata
public boolean hasS3Metadata()A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;- Specified by:
hasS3Metadatain interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- Whether the s3Metadata field is set.
-
getS3Metadata
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;- Specified by:
getS3Metadatain interfaceTransferTypes.AwsS3CompatibleDataOrBuilder- Returns:
- The s3Metadata.
-
setS3Metadata
public TransferTypes.AwsS3CompatibleData.Builder setS3Metadata(TransferTypes.S3CompatibleMetadata value) A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; -
setS3Metadata
public TransferTypes.AwsS3CompatibleData.Builder setS3Metadata(TransferTypes.S3CompatibleMetadata.Builder builderForValue) A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; -
mergeS3Metadata
public TransferTypes.AwsS3CompatibleData.Builder mergeS3Metadata(TransferTypes.S3CompatibleMetadata value) A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; -
clearS3Metadata
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; -
getS3MetadataBuilder
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; -
getS3MetadataOrBuilder
A S3 compatible metadata.
.google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4;- Specified by:
getS3MetadataOrBuilderin interfaceTransferTypes.AwsS3CompatibleDataOrBuilder
-