- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.0.4
public static final class TransferTypes.S3CompatibleMetadata.Builder extends GeneratedMessageV3.Builder<TransferTypes.S3CompatibleMetadata.Builder> implements TransferTypes.S3CompatibleMetadataOrBuilder
S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.
Protobuf type google.storagetransfer.v1.S3CompatibleMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferTypes.S3CompatibleMetadata.BuilderImplements
TransferTypes.S3CompatibleMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.S3CompatibleMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
build()
public TransferTypes.S3CompatibleMetadata build()
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata |
buildPartial()
public TransferTypes.S3CompatibleMetadata buildPartial()
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata |
clear()
public TransferTypes.S3CompatibleMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
clearAuthMethod()
public TransferTypes.S3CompatibleMetadata.Builder clearAuthMethod()
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.S3CompatibleMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
clearListApi()
public TransferTypes.S3CompatibleMetadata.Builder clearListApi()
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.S3CompatibleMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
clearProtocol()
public TransferTypes.S3CompatibleMetadata.Builder clearProtocol()
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
clearRequestModel()
public TransferTypes.S3CompatibleMetadata.Builder clearRequestModel()
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
clone()
public TransferTypes.S3CompatibleMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
getAuthMethod()
public TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod()
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.AuthMethod |
The authMethod. |
getAuthMethodValue()
public int getAuthMethodValue()
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for authMethod. |
getDefaultInstanceForType()
public TransferTypes.S3CompatibleMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getListApi()
public TransferTypes.S3CompatibleMetadata.ListApi getListApi()
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.ListApi |
The listApi. |
getListApiValue()
public int getListApiValue()
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for listApi. |
getProtocol()
public TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol()
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.NetworkProtocol |
The protocol. |
getProtocolValue()
public int getProtocolValue()
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for protocol. |
getRequestModel()
public TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel()
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.RequestModel |
The requestModel. |
getRequestModelValue()
public int getRequestModelValue()
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for requestModel. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferTypes.S3CompatibleMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransferTypes.S3CompatibleMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
mergeFrom(TransferTypes.S3CompatibleMetadata other)
public TransferTypes.S3CompatibleMetadata.Builder mergeFrom(TransferTypes.S3CompatibleMetadata other)
Parameter | |
---|---|
Name | Description |
other |
TransferTypes.S3CompatibleMetadata |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.S3CompatibleMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
setAuthMethod(TransferTypes.S3CompatibleMetadata.AuthMethod value)
public TransferTypes.S3CompatibleMetadata.Builder setAuthMethod(TransferTypes.S3CompatibleMetadata.AuthMethod value)
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.S3CompatibleMetadata.AuthMethod The authMethod to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setAuthMethodValue(int value)
public TransferTypes.S3CompatibleMetadata.Builder setAuthMethodValue(int value)
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
.google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for authMethod to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.S3CompatibleMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
setListApi(TransferTypes.S3CompatibleMetadata.ListApi value)
public TransferTypes.S3CompatibleMetadata.Builder setListApi(TransferTypes.S3CompatibleMetadata.ListApi value)
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.S3CompatibleMetadata.ListApi The listApi to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setListApiValue(int value)
public TransferTypes.S3CompatibleMetadata.Builder setListApiValue(int value)
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
.google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for listApi to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setProtocol(TransferTypes.S3CompatibleMetadata.NetworkProtocol value)
public TransferTypes.S3CompatibleMetadata.Builder setProtocol(TransferTypes.S3CompatibleMetadata.NetworkProtocol value)
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.S3CompatibleMetadata.NetworkProtocol The protocol to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setProtocolValue(int value)
public TransferTypes.S3CompatibleMetadata.Builder setProtocolValue(int value)
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
.google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for protocol to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.S3CompatibleMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
setRequestModel(TransferTypes.S3CompatibleMetadata.RequestModel value)
public TransferTypes.S3CompatibleMetadata.Builder setRequestModel(TransferTypes.S3CompatibleMetadata.RequestModel value)
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.S3CompatibleMetadata.RequestModel The requestModel to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setRequestModelValue(int value)
public TransferTypes.S3CompatibleMetadata.Builder setRequestModelValue(int value)
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
.google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for requestModel to set. |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.S3CompatibleMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferTypes.S3CompatibleMetadata.Builder |