Class ExportMetadataRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder> implements ExportMetadataRequestOrBuilder
Request message for [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata].
Protobuf typegoogle.cloud.metastore.v1beta.ExportMetadataRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportMetadataRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExportMetadataRequestbuild()ExportMetadataRequestbuildPartial()ExportMetadataRequest.Builderclear()ExportMetadataRequest.BuilderclearDatabaseDumpType()Optional.ExportMetadataRequest.BuilderclearDestination()ExportMetadataRequest.BuilderclearDestinationGcsFolder()A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.ExportMetadataRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExportMetadataRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExportMetadataRequest.BuilderclearRequestId()Optional.ExportMetadataRequest.BuilderclearService()Required.ExportMetadataRequest.Builderclone()DatabaseDumpSpec.TypegetDatabaseDumpType()Optional.intgetDatabaseDumpTypeValue()Optional.ExportMetadataRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExportMetadataRequest.DestinationCasegetDestinationCase()StringgetDestinationGcsFolder()A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.com.google.protobuf.ByteStringgetDestinationGcsFolderBytes()A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.StringgetRequestId()Optional.com.google.protobuf.ByteStringgetRequestIdBytes()Optional.StringgetService()Required.com.google.protobuf.ByteStringgetServiceBytes()Required.booleanhasDestinationGcsFolder()A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExportMetadataRequest.BuildermergeFrom(ExportMetadataRequest other)ExportMetadataRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExportMetadataRequest.BuildermergeFrom(com.google.protobuf.Message other)ExportMetadataRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExportMetadataRequest.BuildersetDatabaseDumpType(DatabaseDumpSpec.Type value)Optional.ExportMetadataRequest.BuildersetDatabaseDumpTypeValue(int value)Optional.ExportMetadataRequest.BuildersetDestinationGcsFolder(String value)A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.ExportMetadataRequest.BuildersetDestinationGcsFolderBytes(com.google.protobuf.ByteString value)A Cloud Storage URI of a folder, in the format `gs://<bucket_name>/<path_inside_bucket>`.ExportMetadataRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExportMetadataRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExportMetadataRequest.BuildersetRequestId(String value)Optional.ExportMetadataRequest.BuildersetRequestIdBytes(com.google.protobuf.ByteString value)Optional.ExportMetadataRequest.BuildersetService(String value)Required.ExportMetadataRequest.BuildersetServiceBytes(com.google.protobuf.ByteString value)Required.ExportMetadataRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
clear
public ExportMetadataRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
getDefaultInstanceForType
public ExportMetadataRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportMetadataRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportMetadataRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportMetadataRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
setField
public ExportMetadataRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
clearField
public ExportMetadataRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
clearOneof
public ExportMetadataRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
setRepeatedField
public ExportMetadataRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
addRepeatedField
public ExportMetadataRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
mergeFrom
public ExportMetadataRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportMetadataRequest.Builder>
-
mergeFrom
public ExportMetadataRequest.Builder mergeFrom(ExportMetadataRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public ExportMetadataRequest.DestinationCase getDestinationCase()
- Specified by:
getDestinationCasein interfaceExportMetadataRequestOrBuilder
-
clearDestination
public ExportMetadataRequest.Builder 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
public String 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
public ExportMetadataRequest.Builder setDestinationGcsFolder(String 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 destinationGcsFolder to set.- Returns:
- This builder for chaining.
-
clearDestinationGcsFolder
public ExportMetadataRequest.Builder 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
public String 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
public ExportMetadataRequest.Builder setService(String value)
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
public ExportMetadataRequest.Builder 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
public ExportMetadataRequest.Builder setServiceBytes(com.google.protobuf.ByteString value)
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
public String 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
public ExportMetadataRequest.Builder setRequestId(String value)
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
public ExportMetadataRequest.Builder 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
public ExportMetadataRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
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
public ExportMetadataRequest.Builder setDatabaseDumpTypeValue(int value)
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
public DatabaseDumpSpec.Type 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
public ExportMetadataRequest.Builder setDatabaseDumpType(DatabaseDumpSpec.Type value)
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
public ExportMetadataRequest.Builder 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.
-
setUnknownFields
public final ExportMetadataRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
mergeUnknownFields
public final ExportMetadataRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportMetadataRequest.Builder>
-
-