Class IndexAssetMetadata (0.11.0)

public final class IndexAssetMetadata extends GeneratedMessageV3 implements IndexAssetMetadataOrBuilder

Metadata for IndexAsset.

Protobuf type google.cloud.visionai.v1.IndexAssetMetadata

Static Fields

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IndexAssetMetadata getDefaultInstance()
Returns
Type Description
IndexAssetMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(IndexAssetMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public IndexAssetMetadata getDefaultInstanceForType()
Returns
Type Description
IndexAssetMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

getStatus()

public IndexingStatus getStatus()

The status of indexing this asset.

.google.cloud.visionai.v1.IndexingStatus status = 4;

Returns
Type Description
IndexingStatus

The status.

getStatusOrBuilder()

public IndexingStatusOrBuilder getStatusOrBuilder()

The status of indexing this asset.

.google.cloud.visionai.v1.IndexingStatus status = 4;

Returns
Type Description
IndexingStatusOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
boolean

Whether the startTime field is set.

hasStatus()

public boolean hasStatus()

The status of indexing this asset.

.google.cloud.visionai.v1.IndexingStatus status = 4;

Returns
Type Description
boolean

Whether the status field is set.

hasUpdateTime()

public boolean hasUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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