Class ImportEntitiesMetadata.Builder (2.17.6)

public static final class ImportEntitiesMetadata.Builder extends GeneratedMessageV3.Builder<ImportEntitiesMetadata.Builder> implements ImportEntitiesMetadataOrBuilder

Metadata for ImportEntities operations.

Protobuf type google.datastore.admin.v1.ImportEntitiesMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportEntitiesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportEntitiesMetadata.Builder
Overrides

build()

public ImportEntitiesMetadata build()
Returns
TypeDescription
ImportEntitiesMetadata

buildPartial()

public ImportEntitiesMetadata buildPartial()
Returns
TypeDescription
ImportEntitiesMetadata

clear()

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

clearCommon()

public ImportEntitiesMetadata.Builder clearCommon()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
ImportEntitiesMetadata.Builder

clearEntityFilter()

public ImportEntitiesMetadata.Builder clearEntityFilter()

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Returns
TypeDescription
ImportEntitiesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInputUrl()

public ImportEntitiesMetadata.Builder clearInputUrl()

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

string input_url = 5;

Returns
TypeDescription
ImportEntitiesMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgressBytes()

public ImportEntitiesMetadata.Builder clearProgressBytes()

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Returns
TypeDescription
ImportEntitiesMetadata.Builder

clearProgressEntities()

public ImportEntitiesMetadata.Builder clearProgressEntities()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
ImportEntitiesMetadata.Builder

clone()

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

getCommon()

public CommonMetadata getCommon()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
CommonMetadata

The common.

getCommonBuilder()

public CommonMetadata.Builder getCommonBuilder()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
CommonMetadata.Builder

getCommonOrBuilder()

public CommonMetadataOrBuilder getCommonOrBuilder()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
CommonMetadataOrBuilder

getDefaultInstanceForType()

public ImportEntitiesMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportEntitiesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityFilter()

public EntityFilter getEntityFilter()

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Returns
TypeDescription
EntityFilter

The entityFilter.

getEntityFilterBuilder()

public EntityFilter.Builder getEntityFilterBuilder()

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Returns
TypeDescription
EntityFilter.Builder

getEntityFilterOrBuilder()

public EntityFilterOrBuilder getEntityFilterOrBuilder()

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Returns
TypeDescription
EntityFilterOrBuilder

getInputUrl()

public String getInputUrl()

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

string input_url = 5;

Returns
TypeDescription
String

The inputUrl.

getInputUrlBytes()

public ByteString getInputUrlBytes()

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

string input_url = 5;

Returns
TypeDescription
ByteString

The bytes for inputUrl.

getProgressBytes()

public Progress getProgressBytes()

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Returns
TypeDescription
Progress

The progressBytes.

getProgressBytesBuilder()

public Progress.Builder getProgressBytesBuilder()

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Returns
TypeDescription
Progress.Builder

getProgressBytesOrBuilder()

public ProgressOrBuilder getProgressBytesOrBuilder()

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Returns
TypeDescription
ProgressOrBuilder

getProgressEntities()

public Progress getProgressEntities()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
Progress

The progressEntities.

getProgressEntitiesBuilder()

public Progress.Builder getProgressEntitiesBuilder()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
Progress.Builder

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
ProgressOrBuilder

hasCommon()

public boolean hasCommon()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
boolean

Whether the common field is set.

hasEntityFilter()

public boolean hasEntityFilter()

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Returns
TypeDescription
boolean

Whether the entityFilter field is set.

hasProgressBytes()

public boolean hasProgressBytes()

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Returns
TypeDescription
boolean

Whether the progressBytes field is set.

hasProgressEntities()

public boolean hasProgressEntities()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
boolean

Whether the progressEntities field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCommon(CommonMetadata value)

public ImportEntitiesMetadata.Builder mergeCommon(CommonMetadata value)

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Parameter
NameDescription
valueCommonMetadata
Returns
TypeDescription
ImportEntitiesMetadata.Builder

mergeEntityFilter(EntityFilter value)

public ImportEntitiesMetadata.Builder mergeEntityFilter(EntityFilter value)

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Parameter
NameDescription
valueEntityFilter
Returns
TypeDescription
ImportEntitiesMetadata.Builder

mergeFrom(ImportEntitiesMetadata other)

public ImportEntitiesMetadata.Builder mergeFrom(ImportEntitiesMetadata other)
Parameter
NameDescription
otherImportEntitiesMetadata
Returns
TypeDescription
ImportEntitiesMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProgressBytes(Progress value)

public ImportEntitiesMetadata.Builder mergeProgressBytes(Progress value)

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportEntitiesMetadata.Builder

mergeProgressEntities(Progress value)

public ImportEntitiesMetadata.Builder mergeProgressEntities(Progress value)

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportEntitiesMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntitiesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportEntitiesMetadata.Builder
Overrides

setCommon(CommonMetadata value)

public ImportEntitiesMetadata.Builder setCommon(CommonMetadata value)

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Parameter
NameDescription
valueCommonMetadata
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setCommon(CommonMetadata.Builder builderForValue)

public ImportEntitiesMetadata.Builder setCommon(CommonMetadata.Builder builderForValue)

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Parameter
NameDescription
builderForValueCommonMetadata.Builder
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setEntityFilter(EntityFilter value)

public ImportEntitiesMetadata.Builder setEntityFilter(EntityFilter value)

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Parameter
NameDescription
valueEntityFilter
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setEntityFilter(EntityFilter.Builder builderForValue)

public ImportEntitiesMetadata.Builder setEntityFilter(EntityFilter.Builder builderForValue)

Description of which entities are being imported.

.google.datastore.admin.v1.EntityFilter entity_filter = 4;

Parameter
NameDescription
builderForValueEntityFilter.Builder
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportEntitiesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportEntitiesMetadata.Builder
Overrides

setInputUrl(String value)

public ImportEntitiesMetadata.Builder setInputUrl(String value)

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

string input_url = 5;

Parameter
NameDescription
valueString

The inputUrl to set.

Returns
TypeDescription
ImportEntitiesMetadata.Builder

This builder for chaining.

setInputUrlBytes(ByteString value)

public ImportEntitiesMetadata.Builder setInputUrlBytes(ByteString value)

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

string input_url = 5;

Parameter
NameDescription
valueByteString

The bytes for inputUrl to set.

Returns
TypeDescription
ImportEntitiesMetadata.Builder

This builder for chaining.

setProgressBytes(Progress value)

public ImportEntitiesMetadata.Builder setProgressBytes(Progress value)

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setProgressBytes(Progress.Builder builderForValue)

public ImportEntitiesMetadata.Builder setProgressBytes(Progress.Builder builderForValue)

An estimate of the number of bytes processed.

.google.datastore.admin.v1.Progress progress_bytes = 3;

Parameter
NameDescription
builderForValueProgress.Builder
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setProgressEntities(Progress value)

public ImportEntitiesMetadata.Builder setProgressEntities(Progress value)

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Parameter
NameDescription
valueProgress
Returns
TypeDescription
ImportEntitiesMetadata.Builder

setProgressEntities(Progress.Builder builderForValue)

public ImportEntitiesMetadata.Builder setProgressEntities(Progress.Builder builderForValue)

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Parameter
NameDescription
builderForValueProgress.Builder
Returns
TypeDescription
ImportEntitiesMetadata.Builder

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

public ImportEntitiesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportEntitiesMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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