Class ImportEntitiesMetadata (2.19.1)

public final class ImportEntitiesMetadata extends GeneratedMessageV3 implements ImportEntitiesMetadataOrBuilder

Metadata for ImportEntities operations.

Protobuf type google.datastore.admin.v1.ImportEntitiesMetadata

Static Fields

COMMON_FIELD_NUMBER

public static final int COMMON_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_FILTER_FIELD_NUMBER

public static final int ENTITY_FILTER_FIELD_NUMBER
Field Value
Type Description
int

INPUT_URL_FIELD_NUMBER

public static final int INPUT_URL_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_BYTES_FIELD_NUMBER

public static final int PROGRESS_BYTES_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_ENTITIES_FIELD_NUMBER

public static final int PROGRESS_ENTITIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportEntitiesMetadata getDefaultInstance()
Returns
Type Description
ImportEntitiesMetadata

getDescriptor()

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

newBuilder()

public static ImportEntitiesMetadata.Builder newBuilder()
Returns
Type Description
ImportEntitiesMetadata.Builder

newBuilder(ImportEntitiesMetadata prototype)

public static ImportEntitiesMetadata.Builder newBuilder(ImportEntitiesMetadata prototype)
Parameter
Name Description
prototype ImportEntitiesMetadata
Returns
Type Description
ImportEntitiesMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ImportEntitiesMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportEntitiesMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportEntitiesMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportEntitiesMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportEntitiesMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportEntitiesMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntitiesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportEntitiesMetadata> parser()
Returns
Type Description
Parser<ImportEntitiesMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

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.

getParserForType()

public Parser<ImportEntitiesMetadata> getParserForType()
Returns
Type Description
Parser<ImportEntitiesMetadata>
Overrides

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.

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.

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

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

Returns
Type Description
ProgressOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportEntitiesMetadata.Builder newBuilderForType()
Returns
Type Description
ImportEntitiesMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportEntitiesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportEntitiesMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportEntitiesMetadata.Builder toBuilder()
Returns
Type Description
ImportEntitiesMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException