Class MetadataManagementActivity.Builder (2.9.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.v1alpha.MetadataManagementActivity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.metastore.v1alpha.MetadataExport>
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.metastore.v1alpha.Restore>
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueMetadataExport
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueMetadataExport.Builder
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueMetadataExport
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueMetadataExport.Builder
Returns
TypeDescription
MetadataManagementActivity.Builder

addMetadataExportsBuilder()

public MetadataExport.Builder addMetadataExportsBuilder()

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

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

Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataExport.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetadataManagementActivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueRestore
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueRestore.Builder
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueRestore
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueRestore.Builder
Returns
TypeDescription
MetadataManagementActivity.Builder

addRestoresBuilder()

public Restore.Builder addRestoresBuilder()

Output only. The latest restores of the metastore service.

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

Returns
TypeDescription
Restore.Builder

addRestoresBuilder(int index)

public Restore.Builder addRestoresBuilder(int index)

Output only. The latest restores of the metastore service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Restore.Builder

build()

public MetadataManagementActivity build()
Returns
TypeDescription
MetadataManagementActivity

buildPartial()

public MetadataManagementActivity buildPartial()
Returns
TypeDescription
MetadataManagementActivity

clear()

public MetadataManagementActivity.Builder clear()
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MetadataManagementActivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides

clearMetadataExports()

public MetadataManagementActivity.Builder clearMetadataExports()

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

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

Returns
TypeDescription
MetadataManagementActivity.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MetadataManagementActivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides

clearRestores()

public MetadataManagementActivity.Builder clearRestores()

Output only. The latest restores of the metastore service.

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

Returns
TypeDescription
MetadataManagementActivity.Builder

clone()

public MetadataManagementActivity.Builder clone()
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides

getDefaultInstanceForType()

public MetadataManagementActivity getDefaultInstanceForType()
Returns
TypeDescription
MetadataManagementActivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetadataExports(int index)

public MetadataExport getMetadataExports(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataExport

getMetadataExportsBuilder(int index)

public MetadataExport.Builder getMetadataExportsBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataExport.Builder

getMetadataExportsBuilderList()

public List<MetadataExport.Builder> getMetadataExportsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getMetadataExportsCount()

public int getMetadataExportsCount()

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

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

Returns
TypeDescription
int

getMetadataExportsList()

public List<MetadataExport> getMetadataExportsList()

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

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

Returns
TypeDescription
List<MetadataExport>

getMetadataExportsOrBuilder(int index)

public MetadataExportOrBuilder getMetadataExportsOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataExportOrBuilder

getMetadataExportsOrBuilderList()

public List<? extends MetadataExportOrBuilder> getMetadataExportsOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.metastore.v1alpha.MetadataExportOrBuilder>

getRestores(int index)

public Restore getRestores(int index)

Output only. The latest restores of the metastore service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Restore

getRestoresBuilder(int index)

public Restore.Builder getRestoresBuilder(int index)

Output only. The latest restores of the metastore service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Restore.Builder

getRestoresBuilderList()

public List<Restore.Builder> getRestoresBuilderList()

Output only. The latest restores of the metastore service.

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

Returns
TypeDescription
List<Builder>

getRestoresCount()

public int getRestoresCount()

Output only. The latest restores of the metastore service.

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

Returns
TypeDescription
int

getRestoresList()

public List<Restore> getRestoresList()

Output only. The latest restores of the metastore service.

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

Returns
TypeDescription
List<Restore>

getRestoresOrBuilder(int index)

public RestoreOrBuilder getRestoresOrBuilder(int index)

Output only. The latest restores of the metastore service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreOrBuilder

getRestoresOrBuilderList()

public List<? extends RestoreOrBuilder> getRestoresOrBuilderList()

Output only. The latest restores of the metastore service.

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

Returns
TypeDescription
List<? extends com.google.cloud.metastore.v1alpha.RestoreOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MetadataManagementActivity other)

public MetadataManagementActivity.Builder mergeFrom(MetadataManagementActivity other)
Parameter
NameDescription
otherMetadataManagementActivity
Returns
TypeDescription
MetadataManagementActivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetadataManagementActivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MetadataManagementActivity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetadataManagementActivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataManagementActivity.Builder

removeRestores(int index)

public MetadataManagementActivity.Builder removeRestores(int index)

Output only. The latest restores of the metastore service.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetadataManagementActivity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MetadataManagementActivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueMetadataExport
Returns
TypeDescription
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.v1alpha.MetadataExport metadata_exports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueMetadataExport.Builder
Returns
TypeDescription
MetadataManagementActivity.Builder

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

public MetadataManagementActivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueRestore
Returns
TypeDescription
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.v1alpha.Restore restores = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueRestore.Builder
Returns
TypeDescription
MetadataManagementActivity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final MetadataManagementActivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MetadataManagementActivity.Builder
Overrides