- 2.54.0 (latest)
- 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 MetadataImport.Builder extends GeneratedMessageV3.Builder<MetadataImport.Builder> implements MetadataImportOrBuilder
A metastore resource that imports metadata.
Protobuf type google.cloud.metastore.v1beta.MetadataImport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MetadataImport.BuilderImplements
MetadataImportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MetadataImport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
build()
public MetadataImport build()
Returns | |
---|---|
Type | Description |
MetadataImport |
buildPartial()
public MetadataImport buildPartial()
Returns | |
---|---|
Type | Description |
MetadataImport |
clear()
public MetadataImport.Builder clear()
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearCreateTime()
public MetadataImport.Builder clearCreateTime()
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearDatabaseDump()
public MetadataImport.Builder clearDatabaseDump()
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearDescription()
public MetadataImport.Builder clearDescription()
The description of the metadata import.
string description = 2;
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
clearEndTime()
public MetadataImport.Builder clearEndTime()
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearField(Descriptors.FieldDescriptor field)
public MetadataImport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearMetadata()
public MetadataImport.Builder clearMetadata()
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearName()
public MetadataImport.Builder clearName()
Immutable. The relative resource name of the metadata import, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MetadataImport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clearState()
public MetadataImport.Builder clearState()
Output only. The current state of the metadata import.
.google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
clearUpdateTime()
public MetadataImport.Builder clearUpdateTime()
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
clone()
public MetadataImport.Builder clone()
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDatabaseDump()
public MetadataImport.DatabaseDump getDatabaseDump()
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MetadataImport.DatabaseDump |
The databaseDump. |
getDatabaseDumpBuilder()
public MetadataImport.DatabaseDump.Builder getDatabaseDumpBuilder()
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MetadataImport.DatabaseDump.Builder |
getDatabaseDumpOrBuilder()
public MetadataImport.DatabaseDumpOrBuilder getDatabaseDumpOrBuilder()
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
MetadataImport.DatabaseDumpOrBuilder |
getDefaultInstanceForType()
public MetadataImport getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MetadataImport |
getDescription()
public String getDescription()
The description of the metadata import.
string description = 2;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description of the metadata import.
string description = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMetadataCase()
public MetadataImport.MetadataCase getMetadataCase()
Returns | |
---|---|
Type | Description |
MetadataImport.MetadataCase |
getName()
public String getName()
Immutable. The relative resource name of the metadata import, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Immutable. The relative resource name of the metadata import, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public MetadataImport.State getState()
Output only. The current state of the metadata import.
.google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MetadataImport.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The current state of the metadata import.
.google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDatabaseDump()
public boolean hasDatabaseDump()
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
boolean |
Whether the databaseDump field is set. |
hasEndTime()
public boolean hasEndTime()
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public MetadataImport.Builder mergeCreateTime(Timestamp value)
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
mergeDatabaseDump(MetadataImport.DatabaseDump value)
public MetadataImport.Builder mergeDatabaseDump(MetadataImport.DatabaseDump value)
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
MetadataImport.DatabaseDump |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
mergeEndTime(Timestamp value)
public MetadataImport.Builder mergeEndTime(Timestamp value)
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
mergeFrom(MetadataImport other)
public MetadataImport.Builder mergeFrom(MetadataImport other)
Parameter | |
---|---|
Name | Description |
other |
MetadataImport |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetadataImport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MetadataImport.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MetadataImport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
mergeUpdateTime(Timestamp value)
public MetadataImport.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setCreateTime(Timestamp value)
public MetadataImport.Builder setCreateTime(Timestamp value)
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MetadataImport.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the metadata import was started.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setDatabaseDump(MetadataImport.DatabaseDump value)
public MetadataImport.Builder setDatabaseDump(MetadataImport.DatabaseDump value)
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
MetadataImport.DatabaseDump |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setDatabaseDump(MetadataImport.DatabaseDump.Builder builderForValue)
public MetadataImport.Builder setDatabaseDump(MetadataImport.DatabaseDump.Builder builderForValue)
Immutable. A database dump from a pre-existing metastore's database.
.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
builderForValue |
MetadataImport.DatabaseDump.Builder |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setDescription(String value)
public MetadataImport.Builder setDescription(String value)
The description of the metadata import.
string description = 2;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public MetadataImport.Builder setDescriptionBytes(ByteString value)
The description of the metadata import.
string description = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public MetadataImport.Builder setEndTime(Timestamp value)
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setEndTime(Timestamp.Builder builderForValue)
public MetadataImport.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time when the metadata import finished.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MetadataImport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setName(String value)
public MetadataImport.Builder setName(String value)
Immutable. The relative resource name of the metadata import, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MetadataImport.Builder setNameBytes(ByteString value)
Immutable. The relative resource name of the metadata import, of the form:
projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MetadataImport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setState(MetadataImport.State value)
public MetadataImport.Builder setState(MetadataImport.State value)
Output only. The current state of the metadata import.
.google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
MetadataImport.State The state to set. |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
setStateValue(int value)
public MetadataImport.Builder setStateValue(int value)
Output only. The current state of the metadata import.
.google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MetadataImport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setUpdateTime(Timestamp value)
public MetadataImport.Builder setUpdateTime(Timestamp value)
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public MetadataImport.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the metadata import was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MetadataImport.Builder |