Class MetadataManagementActivity.Builder (2.53.0)

public static final class MetadataManagementActivity.Builder extends GeneratedMessageV3.Builder<MetadataManagementActivity.Builder> implements MetadataManagementActivityOrBuilder

The metadata management activities of the metastore service.

Protobuf type google.cloud.metastore.v1.MetadataManagementActivity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMetadataExports(Iterable<? extends MetadataExport> values)

public MetadataManagementActivity.Builder addAllMetadataExports(Iterable<? extends MetadataExport> values)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.metastore.v1.MetadataExport>
Returns
Type Description
MetadataManagementActivity.Builder

addAllRestores(Iterable<? extends Restore> values)

public MetadataManagementActivity.Builder addAllRestores(Iterable<? extends Restore> values)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.metastore.v1.Restore>
Returns
Type Description
MetadataManagementActivity.Builder

addMetadataExports(MetadataExport value)

public MetadataManagementActivity.Builder addMetadataExports(MetadataExport value)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MetadataExport
Returns
Type Description
MetadataManagementActivity.Builder

addMetadataExports(MetadataExport.Builder builderForValue)

public MetadataManagementActivity.Builder addMetadataExports(MetadataExport.Builder builderForValue)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MetadataExport.Builder
Returns
Type Description
MetadataManagementActivity.Builder

addMetadataExports(int index, MetadataExport value)

public MetadataManagementActivity.Builder addMetadataExports(int index, MetadataExport value)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MetadataExport
Returns
Type Description
MetadataManagementActivity.Builder

addMetadataExports(int index, MetadataExport.Builder builderForValue)

public MetadataManagementActivity.Builder addMetadataExports(int index, MetadataExport.Builder builderForValue)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MetadataExport.Builder
Returns
Type Description
MetadataManagementActivity.Builder

addMetadataExportsBuilder()

public MetadataExport.Builder addMetadataExportsBuilder()

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataExport.Builder

addMetadataExportsBuilder(int index)

public MetadataExport.Builder addMetadataExportsBuilder(int index)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MetadataExport.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetadataManagementActivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

addRestores(Restore value)

public MetadataManagementActivity.Builder addRestores(Restore value)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Restore
Returns
Type Description
MetadataManagementActivity.Builder

addRestores(Restore.Builder builderForValue)

public MetadataManagementActivity.Builder addRestores(Restore.Builder builderForValue)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Restore.Builder
Returns
Type Description
MetadataManagementActivity.Builder

addRestores(int index, Restore value)

public MetadataManagementActivity.Builder addRestores(int index, Restore value)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Restore
Returns
Type Description
MetadataManagementActivity.Builder

addRestores(int index, Restore.Builder builderForValue)

public MetadataManagementActivity.Builder addRestores(int index, Restore.Builder builderForValue)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Restore.Builder
Returns
Type Description
MetadataManagementActivity.Builder

addRestoresBuilder()

public Restore.Builder addRestoresBuilder()

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Restore.Builder

addRestoresBuilder(int index)

public Restore.Builder addRestoresBuilder(int index)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Restore.Builder

build()

public MetadataManagementActivity build()
Returns
Type Description
MetadataManagementActivity

buildPartial()

public MetadataManagementActivity buildPartial()
Returns
Type Description
MetadataManagementActivity

clear()

public MetadataManagementActivity.Builder clear()
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MetadataManagementActivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

clearMetadataExports()

public MetadataManagementActivity.Builder clearMetadataExports()

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataManagementActivity.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MetadataManagementActivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

clearRestores()

public MetadataManagementActivity.Builder clearRestores()

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataManagementActivity.Builder

clone()

public MetadataManagementActivity.Builder clone()
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

getDefaultInstanceForType()

public MetadataManagementActivity getDefaultInstanceForType()
Returns
Type Description
MetadataManagementActivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetadataExports(int index)

public MetadataExport getMetadataExports(int index)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MetadataExport

getMetadataExportsBuilder(int index)

public MetadataExport.Builder getMetadataExportsBuilder(int index)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MetadataExport.Builder

getMetadataExportsBuilderList()

public List<MetadataExport.Builder> getMetadataExportsBuilderList()

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getMetadataExportsCount()

public int getMetadataExportsCount()

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getMetadataExportsList()

public List<MetadataExport> getMetadataExportsList()

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MetadataExport>

getMetadataExportsOrBuilder(int index)

public MetadataExportOrBuilder getMetadataExportsOrBuilder(int index)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MetadataExportOrBuilder

getMetadataExportsOrBuilderList()

public List<? extends MetadataExportOrBuilder> getMetadataExportsOrBuilderList()

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.metastore.v1.MetadataExportOrBuilder>

getRestores(int index)

public Restore getRestores(int index)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Restore

getRestoresBuilder(int index)

public Restore.Builder getRestoresBuilder(int index)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Restore.Builder

getRestoresBuilderList()

public List<Restore.Builder> getRestoresBuilderList()

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRestoresCount()

public int getRestoresCount()

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRestoresList()

public List<Restore> getRestoresList()

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Restore>

getRestoresOrBuilder(int index)

public RestoreOrBuilder getRestoresOrBuilder(int index)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RestoreOrBuilder

getRestoresOrBuilderList()

public List<? extends RestoreOrBuilder> getRestoresOrBuilderList()

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.metastore.v1.RestoreOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetadataManagementActivity other)

public MetadataManagementActivity.Builder mergeFrom(MetadataManagementActivity other)
Parameter
Name Description
other MetadataManagementActivity
Returns
Type Description
MetadataManagementActivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetadataManagementActivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataManagementActivity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MetadataManagementActivity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetadataManagementActivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

removeMetadataExports(int index)

public MetadataManagementActivity.Builder removeMetadataExports(int index)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MetadataManagementActivity.Builder

removeRestores(int index)

public MetadataManagementActivity.Builder removeRestores(int index)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MetadataManagementActivity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MetadataManagementActivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

setMetadataExports(int index, MetadataExport value)

public MetadataManagementActivity.Builder setMetadataExports(int index, MetadataExport value)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MetadataExport
Returns
Type Description
MetadataManagementActivity.Builder

setMetadataExports(int index, MetadataExport.Builder builderForValue)

public MetadataManagementActivity.Builder setMetadataExports(int index, MetadataExport.Builder builderForValue)

Output only. The latest metadata exports of the metastore service.

repeated .google.cloud.metastore.v1.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MetadataExport.Builder
Returns
Type Description
MetadataManagementActivity.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MetadataManagementActivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MetadataManagementActivity.Builder
Overrides

setRestores(int index, Restore value)

public MetadataManagementActivity.Builder setRestores(int index, Restore value)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Restore
Returns
Type Description
MetadataManagementActivity.Builder

setRestores(int index, Restore.Builder builderForValue)

public MetadataManagementActivity.Builder setRestores(int index, Restore.Builder builderForValue)

Output only. The latest restores of the metastore service.

repeated .google.cloud.metastore.v1.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Restore.Builder
Returns
Type Description
MetadataManagementActivity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final MetadataManagementActivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetadataManagementActivity.Builder
Overrides