Class TransferTypes.S3CompatibleMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.S3CompatibleMetadata.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.S3CompatibleMetadataOrBuilder,Cloneable
- Enclosing class:
- TransferTypes.S3CompatibleMetadata
public static final class TransferTypes.S3CompatibleMetadata.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies the authentication and authorization method used by the storage service.The Listing API to use for discovering objects.Specifies the network protocol of the agent.Specifies the API request model used to call the storage service.Specifies the authentication and authorization method used by the storage service.intSpecifies the authentication and authorization method used by the storage service.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe Listing API to use for discovering objects.intThe Listing API to use for discovering objects.Specifies the network protocol of the agent.intSpecifies the network protocol of the agent.Specifies the API request model used to call the storage service.intSpecifies the API request model used to call the storage service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specifies the authentication and authorization method used by the storage service.setAuthMethodValue(int value) Specifies the authentication and authorization method used by the storage service.The Listing API to use for discovering objects.setListApiValue(int value) The Listing API to use for discovering objects.Specifies the network protocol of the agent.setProtocolValue(int value) Specifies the network protocol of the agent.Specifies the API request model used to call the storage service.setRequestModelValue(int value) Specifies the API request model used to call the storage service.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.S3CompatibleMetadata.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.S3CompatibleMetadata.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.S3CompatibleMetadata.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.S3CompatibleMetadata.Builder>
-
mergeFrom
public TransferTypes.S3CompatibleMetadata.Builder mergeFrom(TransferTypes.S3CompatibleMetadata other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.S3CompatibleMetadata.Builder>
-
mergeFrom
public TransferTypes.S3CompatibleMetadata.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.S3CompatibleMetadata.Builder>- Throws:
IOException
-
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;- Specified by:
getAuthMethodValuein interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The enum numeric value on the wire for authMethod.
-
setAuthMethodValue
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;- Parameters:
value- The enum numeric value on the wire for authMethod to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAuthMethodin interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The authMethod.
-
setAuthMethod
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;- Parameters:
value- The authMethod to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getRequestModelValuein interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The enum numeric value on the wire for requestModel.
-
setRequestModelValue
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;- Parameters:
value- The enum numeric value on the wire for requestModel to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getRequestModelin interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The requestModel.
-
setRequestModel
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;- Parameters:
value- The requestModel to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getProtocolValuein interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
setProtocolValue
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;- Parameters:
value- The enum numeric value on the wire for protocol to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getProtocolin interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The protocol.
-
setProtocol
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;- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getListApiValuein interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The enum numeric value on the wire for listApi.
-
setListApiValue
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;- Parameters:
value- The enum numeric value on the wire for listApi to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getListApiin interfaceTransferTypes.S3CompatibleMetadataOrBuilder- Returns:
- The listApi.
-
setListApi
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;- Parameters:
value- The listApi to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-