Class ImportEntitiesMetadata (2.17.6)

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
TypeDescription
int

ENTITY_FILTER_FIELD_NUMBER

public static final int ENTITY_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_URL_FIELD_NUMBER

public static final int INPUT_URL_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_BYTES_FIELD_NUMBER

public static final int PROGRESS_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_ENTITIES_FIELD_NUMBER

public static final int PROGRESS_ENTITIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportEntitiesMetadata getDefaultInstance()
Returns
TypeDescription
ImportEntitiesMetadata

getDescriptor()

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

newBuilder()

public static ImportEntitiesMetadata.Builder newBuilder()
Returns
TypeDescription
ImportEntitiesMetadata.Builder

newBuilder(ImportEntitiesMetadata prototype)

public static ImportEntitiesMetadata.Builder newBuilder(ImportEntitiesMetadata prototype)
Parameter
NameDescription
prototypeImportEntitiesMetadata
Returns
TypeDescription
ImportEntitiesMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ImportEntitiesMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportEntitiesMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportEntitiesMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportEntitiesMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportEntitiesMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportEntitiesMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportEntitiesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntitiesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportEntitiesMetadata> parser()
Returns
TypeDescription
Parser<ImportEntitiesMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCommon()

public CommonMetadata getCommon()

Metadata common to all Datastore Admin operations.

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

Returns
TypeDescription
CommonMetadata

The common.

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

getEntityFilter()

public EntityFilter getEntityFilter()

Description of which entities are being imported.

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

Returns
TypeDescription
EntityFilter

The entityFilter.

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.

getParserForType()

public Parser<ImportEntitiesMetadata> getParserForType()
Returns
TypeDescription
Parser<ImportEntitiesMetadata>
Overrides

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.

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.

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

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

Returns
TypeDescription
ProgressOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportEntitiesMetadata.Builder newBuilderForType()
Returns
TypeDescription
ImportEntitiesMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportEntitiesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportEntitiesMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportEntitiesMetadata.Builder toBuilder()
Returns
TypeDescription
ImportEntitiesMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException