Class ExportDataRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportDataRequest.Builder>
com.google.cloud.parallelstore.v1beta.ExportDataRequest.Builder
- All Implemented Interfaces:
ExportDataRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportDataRequest
public static final class ExportDataRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportDataRequest.Builder>
implements ExportDataRequestOrBuilder
Export data from Parallelstore to Cloud Storage.Protobuf type
google.cloud.parallelstore.v1beta.ExportDataRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Cloud Storage destination.Optional.Required.Optional.Optional.Parallelstore source.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCloud Storage destination.Cloud Storage destination.Cloud Storage destination.Optional.Optional.Optional.getName()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Parallelstore source.Parallelstore source.Parallelstore source.booleanCloud Storage destination.booleanOptional.booleanParallelstore source.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanCloud Storage destination.mergeFrom(ExportDataRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Parallelstore source.Cloud Storage destination.setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue) Cloud Storage destination.Optional.setMetadataOptions(TransferMetadataOptions.Builder builderForValue) Optional.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setRequestId(String value) Optional.setRequestIdBytes(com.google.protobuf.ByteString value) Optional.setServiceAccount(String value) Optional.setServiceAccountBytes(com.google.protobuf.ByteString value) Optional.Parallelstore source.setSourceParallelstore(SourceParallelstore.Builder builderForValue) Parallelstore source.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<ExportDataRequest.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<ExportDataRequest.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<ExportDataRequest.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<ExportDataRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportDataRequest.Builder>
-
mergeFrom
public ExportDataRequest.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<ExportDataRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceExportDataRequestOrBuilder
-
clearSource
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceExportDataRequestOrBuilder
-
clearDestination
-
hasSourceParallelstore
public boolean hasSourceParallelstore()Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;- Specified by:
hasSourceParallelstorein interfaceExportDataRequestOrBuilder- Returns:
- Whether the sourceParallelstore field is set.
-
getSourceParallelstore
Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;- Specified by:
getSourceParallelstorein interfaceExportDataRequestOrBuilder- Returns:
- The sourceParallelstore.
-
setSourceParallelstore
Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; -
setSourceParallelstore
public ExportDataRequest.Builder setSourceParallelstore(SourceParallelstore.Builder builderForValue) Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; -
mergeSourceParallelstore
Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; -
clearSourceParallelstore
Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; -
getSourceParallelstoreBuilder
Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; -
getSourceParallelstoreOrBuilder
Parallelstore source.
.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;- Specified by:
getSourceParallelstoreOrBuilderin interfaceExportDataRequestOrBuilder
-
hasDestinationGcsBucket
public boolean hasDestinationGcsBucket()Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;- Specified by:
hasDestinationGcsBucketin interfaceExportDataRequestOrBuilder- Returns:
- Whether the destinationGcsBucket field is set.
-
getDestinationGcsBucket
Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;- Specified by:
getDestinationGcsBucketin interfaceExportDataRequestOrBuilder- Returns:
- The destinationGcsBucket.
-
setDestinationGcsBucket
Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; -
setDestinationGcsBucket
public ExportDataRequest.Builder setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue) Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; -
mergeDestinationGcsBucket
Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; -
clearDestinationGcsBucket
Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; -
getDestinationGcsBucketBuilder
Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; -
getDestinationGcsBucketOrBuilder
Cloud Storage destination.
.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;- Specified by:
getDestinationGcsBucketOrBuilderin interfaceExportDataRequestOrBuilder
-
getName
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceExportDataRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceExportDataRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Specified by:
getRequestIdin interfaceExportDataRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Specified by:
getRequestIdBytesin interfaceExportDataRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setRequestIdBytes
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getServiceAccount
Optional. User-specified Service Account (SA) credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountin interfaceExportDataRequestOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Optional. User-specified Service Account (SA) credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountBytesin interfaceExportDataRequestOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
Optional. User-specified Service Account (SA) credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
Optional. User-specified Service Account (SA) credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setServiceAccountBytes
Optional. User-specified Service Account (SA) credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
hasMetadataOptions
public boolean hasMetadataOptions()Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMetadataOptionsin interfaceExportDataRequestOrBuilder- Returns:
- Whether the metadataOptions field is set.
-
getMetadataOptions
Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetadataOptionsin interfaceExportDataRequestOrBuilder- Returns:
- The metadataOptions.
-
setMetadataOptions
Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setMetadataOptions
public ExportDataRequest.Builder setMetadataOptions(TransferMetadataOptions.Builder builderForValue) Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
mergeMetadataOptions
Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearMetadataOptions
Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getMetadataOptionsBuilder
Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getMetadataOptionsOrBuilder
Optional. The metadata options for the export data.
.google.cloud.parallelstore.v1beta.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetadataOptionsOrBuilderin interfaceExportDataRequestOrBuilder
-