public static final class TransferTypes.AwsAccessKey.Builder extends GeneratedMessageV3.Builder<TransferTypes.AwsAccessKey.Builder> implements TransferTypes.AwsAccessKeyOrBuilder
AWS access key (see AWS Security Credentials). For information on our data retention policy for user credentials, see User credentials.
Protobuf type google.storagetransfer.v1.AwsAccessKey
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferTypes.AwsAccessKey.BuilderImplements
TransferTypes.AwsAccessKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AwsAccessKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
build()
public TransferTypes.AwsAccessKey build()
Type | Description |
TransferTypes.AwsAccessKey |
buildPartial()
public TransferTypes.AwsAccessKey buildPartial()
Type | Description |
TransferTypes.AwsAccessKey |
clear()
public TransferTypes.AwsAccessKey.Builder clear()
Type | Description |
TransferTypes.AwsAccessKey.Builder |
clearAccessKeyId()
public TransferTypes.AwsAccessKey.Builder clearAccessKeyId()
Required. AWS access key ID.
string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferTypes.AwsAccessKey.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.AwsAccessKey.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.AwsAccessKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
clearSecretAccessKey()
public TransferTypes.AwsAccessKey.Builder clearSecretAccessKey()
Required. AWS secret access key. This field is not returned in RPC responses.
string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferTypes.AwsAccessKey.Builder | This builder for chaining. |
clone()
public TransferTypes.AwsAccessKey.Builder clone()
Type | Description |
TransferTypes.AwsAccessKey.Builder |
getAccessKeyId()
public String getAccessKeyId()
Required. AWS access key ID.
string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The accessKeyId. |
getAccessKeyIdBytes()
public ByteString getAccessKeyIdBytes()
Required. AWS access key ID.
string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for accessKeyId. |
getDefaultInstanceForType()
public TransferTypes.AwsAccessKey getDefaultInstanceForType()
Type | Description |
TransferTypes.AwsAccessKey |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSecretAccessKey()
public String getSecretAccessKey()
Required. AWS secret access key. This field is not returned in RPC responses.
string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The secretAccessKey. |
getSecretAccessKeyBytes()
public ByteString getSecretAccessKeyBytes()
Required. AWS secret access key. This field is not returned in RPC responses.
string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for secretAccessKey. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferTypes.AwsAccessKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TransferTypes.AwsAccessKey.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
mergeFrom(TransferTypes.AwsAccessKey other)
public TransferTypes.AwsAccessKey.Builder mergeFrom(TransferTypes.AwsAccessKey other)
Name | Description |
other | TransferTypes.AwsAccessKey |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AwsAccessKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
setAccessKeyId(String value)
public TransferTypes.AwsAccessKey.Builder setAccessKeyId(String value)
Required. AWS access key ID.
string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The accessKeyId to set. |
Type | Description |
TransferTypes.AwsAccessKey.Builder | This builder for chaining. |
setAccessKeyIdBytes(ByteString value)
public TransferTypes.AwsAccessKey.Builder setAccessKeyIdBytes(ByteString value)
Required. AWS access key ID.
string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for accessKeyId to set. |
Type | Description |
TransferTypes.AwsAccessKey.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.AwsAccessKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.AwsAccessKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TransferTypes.AwsAccessKey.Builder |
setSecretAccessKey(String value)
public TransferTypes.AwsAccessKey.Builder setSecretAccessKey(String value)
Required. AWS secret access key. This field is not returned in RPC responses.
string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The secretAccessKey to set. |
Type | Description |
TransferTypes.AwsAccessKey.Builder | This builder for chaining. |
setSecretAccessKeyBytes(ByteString value)
public TransferTypes.AwsAccessKey.Builder setSecretAccessKeyBytes(ByteString value)
Required. AWS secret access key. This field is not returned in RPC responses.
string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for secretAccessKey to set. |
Type | Description |
TransferTypes.AwsAccessKey.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.AwsAccessKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TransferTypes.AwsAccessKey.Builder |