Class ImportEntitiesMetadata.Builder (2.19.2)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportEntitiesMetadata build()
Returns
Type Description
ImportEntitiesMetadata

buildPartial()

public ImportEntitiesMetadata buildPartial()
Returns
Type Description
ImportEntitiesMetadata

clear()

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

clearCommon()

public ImportEntitiesMetadata.Builder clearCommon()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
ImportEntitiesMetadata.Builder

clearEntityFilter()

public ImportEntitiesMetadata.Builder clearEntityFilter()

Description of which entities are being imported.

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

Returns
Type Description
ImportEntitiesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportEntitiesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ImportEntitiesMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportEntitiesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ImportEntitiesMetadata.Builder

clearProgressEntities()

public ImportEntitiesMetadata.Builder clearProgressEntities()

An estimate of the number of entities processed.

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

Returns
Type Description
ImportEntitiesMetadata.Builder

clone()

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

getCommon()

public CommonMetadata getCommon()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
CommonMetadata

The common.

getCommonBuilder()

public CommonMetadata.Builder getCommonBuilder()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
CommonMetadata.Builder

getCommonOrBuilder()

public CommonMetadataOrBuilder getCommonOrBuilder()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
CommonMetadataOrBuilder

getDefaultInstanceForType()

public ImportEntitiesMetadata getDefaultInstanceForType()
Returns
Type Description
ImportEntitiesMetadata

getDescriptorForType()

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

getEntityFilter()

public EntityFilter getEntityFilter()

Description of which entities are being imported.

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

Returns
Type Description
EntityFilter

The entityFilter.

getEntityFilterBuilder()

public EntityFilter.Builder getEntityFilterBuilder()

Description of which entities are being imported.

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

Returns
Type Description
EntityFilter.Builder

getEntityFilterOrBuilder()

public EntityFilterOrBuilder getEntityFilterOrBuilder()

Description of which entities are being imported.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Progress.Builder

getProgressBytesOrBuilder()

public ProgressOrBuilder getProgressBytesOrBuilder()

An estimate of the number of bytes processed.

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

Returns
Type Description
ProgressOrBuilder

getProgressEntities()

public Progress getProgressEntities()

An estimate of the number of entities processed.

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

Returns
Type Description
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
Type Description
Progress.Builder

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

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

Returns
Type Description
ProgressOrBuilder

hasCommon()

public boolean hasCommon()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the progressEntities field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value CommonMetadata
Returns
Type Description
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
Name Description
value EntityFilter
Returns
Type Description
ImportEntitiesMetadata.Builder

mergeFrom(ImportEntitiesMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportEntitiesMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Progress
Returns
Type Description
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
Name Description
value Progress
Returns
Type Description
ImportEntitiesMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntitiesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value CommonMetadata
Returns
Type Description
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
Name Description
builderForValue CommonMetadata.Builder
Returns
Type Description
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
Name Description
value EntityFilter
Returns
Type Description
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
Name Description
builderForValue EntityFilter.Builder
Returns
Type Description
ImportEntitiesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportEntitiesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The inputUrl to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for inputUrl to set.

Returns
Type Description
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
Name Description
value Progress
Returns
Type Description
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
Name Description
builderForValue Progress.Builder
Returns
Type Description
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
Name Description
value Progress
Returns
Type Description
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
Name Description
builderForValue Progress.Builder
Returns
Type Description
ImportEntitiesMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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