Class ImportAssetsMetadata (0.10.0)

public final class ImportAssetsMetadata extends GeneratedMessageV3 implements ImportAssetsMetadataOrBuilder

The metadata message for ImportAssets LRO.

Protobuf type google.cloud.visionai.v1.ImportAssetsMetadata

Static Fields

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportAssetsMetadata getDefaultInstance()
Returns
Type Description
ImportAssetsMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImportAssetsMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportAssetsMetadata getDefaultInstanceForType()
Returns
Type Description
ImportAssetsMetadata

getMetadata()

public OperationMetadata getMetadata()

The metadata of the operation.

.google.cloud.visionai.v1.OperationMetadata metadata = 1;

Returns
Type Description
OperationMetadata

The metadata.

getMetadataOrBuilder()

public OperationMetadataOrBuilder getMetadataOrBuilder()

The metadata of the operation.

.google.cloud.visionai.v1.OperationMetadata metadata = 1;

Returns
Type Description
OperationMetadataOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public BatchOperationStatus getStatus()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
BatchOperationStatus

The status.

getStatusOrBuilder()

public BatchOperationStatusOrBuilder getStatusOrBuilder()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
BatchOperationStatusOrBuilder

hasMetadata()

public boolean hasMetadata()

The metadata of the operation.

.google.cloud.visionai.v1.OperationMetadata metadata = 1;

Returns
Type Description
boolean

Whether the metadata field is set.

hasStatus()

public boolean hasStatus()

The importing status including partial failures, if the implementation can provide such information during the progress of the ImportAssets.

.google.cloud.visionai.v1.BatchOperationStatus status = 2;

Returns
Type Description
boolean

Whether the status 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 ImportAssetsMetadata.Builder newBuilderForType()
Returns
Type Description
ImportAssetsMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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