- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.4
- 2.3.0
- 2.2.0
- 2.1.9
public static final class ExportMetadataRequest.Builder extends GeneratedMessageV3.Builder<ExportMetadataRequest.Builder> implements ExportMetadataRequestOrBuilder
Request message for DataprocMetastore.ExportMetadata.
Protobuf type google.cloud.metastore.v1.ExportMetadataRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportMetadataRequest.BuilderImplements
ExportMetadataRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportMetadataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
build()
public ExportMetadataRequest build()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest |
buildPartial()
public ExportMetadataRequest buildPartial()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest |
clear()
public ExportMetadataRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
clearDatabaseDumpType()
public ExportMetadataRequest.Builder clearDatabaseDumpType()
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
clearDestination()
public ExportMetadataRequest.Builder clearDestination()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
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 | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExportMetadataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportMetadataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | 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 | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
clone()
public ExportMetadataRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
getDatabaseDumpType()
public DatabaseDumpSpec.Type getDatabaseDumpType()
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DatabaseDumpSpec.Type | The databaseDumpType. |
getDatabaseDumpTypeValue()
public int getDatabaseDumpTypeValue()
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for databaseDumpType. |
getDefaultInstanceForType()
public ExportMetadataRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationCase()
public ExportMetadataRequest.DestinationCase getDestinationCase()
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.DestinationCase |
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;
Returns | |
---|---|
Type | Description |
String | The destinationGcsFolder. |
getDestinationGcsFolderBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for destinationGcsFolder. |
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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The requestId. |
getRequestIdBytes()
public 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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for requestId. |
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) = { ... }
Returns | |
---|---|
Type | Description |
String | The service. |
getServiceBytes()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for service. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the destinationGcsFolder field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExportMetadataRequest other)
public ExportMetadataRequest.Builder mergeFrom(ExportMetadataRequest other)
Parameter | |
---|---|
Name | Description |
other | ExportMetadataRequest |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportMetadataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportMetadataRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportMetadataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
setDatabaseDumpType(DatabaseDumpSpec.Type value)
public ExportMetadataRequest.Builder setDatabaseDumpType(DatabaseDumpSpec.Type value)
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | DatabaseDumpSpec.Type The databaseDumpType to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setDatabaseDumpTypeValue(int value)
public ExportMetadataRequest.Builder setDatabaseDumpTypeValue(int value)
Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
.google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for databaseDumpType to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setDestinationGcsFolder(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The destinationGcsFolder to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setDestinationGcsFolderBytes(ByteString value)
public ExportMetadataRequest.Builder setDestinationGcsFolderBytes(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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for destinationGcsFolder to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportMetadataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportMetadataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |
setRequestId(String value)
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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The requestId to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setRequestIdBytes(ByteString value)
public ExportMetadataRequest.Builder setRequestIdBytes(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. A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setService(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The service to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setServiceBytes(ByteString value)
public ExportMetadataRequest.Builder setServiceBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for service to set. |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportMetadataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportMetadataRequest.Builder |