Class ExportMetadataRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportMetadataRequest.Builder>
com.google.cloud.metastore.v1beta.ExportMetadataRequest.Builder
- All Implemented Interfaces:
ExportMetadataRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportMetadataRequest
public static final class ExportMetadataRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportMetadataRequest.Builder>
implements ExportMetadataRequestOrBuilder
Request message for [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata].Protobuf type
google.cloud.metastore.v1beta.ExportMetadataRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.Optional.Required.Optional.intOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.com.google.protobuf.ByteStringA Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.booleanA Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExportMetadataRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setDatabaseDumpTypeValue(int value) Optional.setDestinationGcsFolder(String value) A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.setDestinationGcsFolderBytes(com.google.protobuf.ByteString value) A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.setRequestId(String value) Optional.setRequestIdBytes(com.google.protobuf.ByteString value) Optional.setService(String value) Required.setServiceBytes(com.google.protobuf.ByteString value) Required.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<ExportMetadataRequest.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<ExportMetadataRequest.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<ExportMetadataRequest.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<ExportMetadataRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportMetadataRequest.Builder>
-
mergeFrom
public ExportMetadataRequest.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<ExportMetadataRequest.Builder>- Throws:
IOException
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceExportMetadataRequestOrBuilder
-
clearDestination
-
hasDestinationGcsFolder
public boolean hasDestinationGcsFolder()A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder `<export_folder>` containing exported files will be created below it.
string destination_gcs_folder = 2;- Specified by:
hasDestinationGcsFolderin interfaceExportMetadataRequestOrBuilder- Returns:
- Whether the destinationGcsFolder field is set.
-
getDestinationGcsFolder
A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder `<export_folder>` containing exported files will be created below it.
string destination_gcs_folder = 2;- Specified by:
getDestinationGcsFolderin interfaceExportMetadataRequestOrBuilder- Returns:
- The destinationGcsFolder.
-
getDestinationGcsFolderBytes
public com.google.protobuf.ByteString getDestinationGcsFolderBytes()A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder `<export_folder>` containing exported files will be created below it.
string destination_gcs_folder = 2;- Specified by:
getDestinationGcsFolderBytesin interfaceExportMetadataRequestOrBuilder- Returns:
- The bytes for destinationGcsFolder.
-
setDestinationGcsFolder
A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder `<export_folder>` containing exported files will be created below it.
string destination_gcs_folder = 2;- Parameters:
value- The destinationGcsFolder to set.- Returns:
- This builder for chaining.
-
clearDestinationGcsFolder
A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder `<export_folder>` containing exported files will be created below it.
string destination_gcs_folder = 2;- Returns:
- This builder for chaining.
-
setDestinationGcsFolderBytes
public ExportMetadataRequest.Builder setDestinationGcsFolderBytes(com.google.protobuf.ByteString value) A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder `<export_folder>` containing exported files will be created below it.
string destination_gcs_folder = 2;- Parameters:
value- The bytes for destinationGcsFolder to set.- Returns:
- This builder for chaining.
-
getService
Required. The relative resource name of the metastore service to run export, in the following form: `projects/{project_id}/locations/{location_id}/services/{service_id}`.string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServicein interfaceExportMetadataRequestOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Required. The relative resource name of the metastore service to run export, in the following form: `projects/{project_id}/locations/{location_id}/services/{service_id}`.string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServiceBytesin interfaceExportMetadataRequestOrBuilder- Returns:
- The bytes for service.
-
setService
Required. The relative resource name of the metastore service to run export, in the following form: `projects/{project_id}/locations/{location_id}/services/{service_id}`.string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Required. The relative resource name of the metastore service to run export, in the following form: `projects/{project_id}/locations/{location_id}/services/{service_id}`.string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setServiceBytes
Required. The relative resource name of the metastore service to run export, in the following form: `projects/{project_id}/locations/{location_id}/services/{service_id}`.string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getRequestId
Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request. For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments. The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestIdin interfaceExportMetadataRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request. For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments. The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestIdBytesin interfaceExportMetadataRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request. For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments. The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request. For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments. The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRequestIdBytes
Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request. For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments. The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getDatabaseDumpTypeValue
public int getDatabaseDumpTypeValue()Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseDumpTypeValuein interfaceExportMetadataRequestOrBuilder- Returns:
- The enum numeric value on the wire for databaseDumpType.
-
setDatabaseDumpTypeValue
Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for databaseDumpType to set.- Returns:
- This builder for chaining.
-
getDatabaseDumpType
Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseDumpTypein interfaceExportMetadataRequestOrBuilder- Returns:
- The databaseDumpType.
-
setDatabaseDumpType
Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The databaseDumpType to set.- Returns:
- This builder for chaining.
-
clearDatabaseDumpType
Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-