Class IndexAssetMetadata.Builder (0.40.0)

public static final class IndexAssetMetadata.Builder extends GeneratedMessage.Builder<IndexAssetMetadata.Builder> implements IndexAssetMetadataOrBuilder

Metadata for IndexAsset.

Protobuf type google.cloud.visionai.v1.IndexAssetMetadata

Static Methods

getDescriptor()

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

Methods

build()

public IndexAssetMetadata build()
Returns
Type Description
IndexAssetMetadata

buildPartial()

public IndexAssetMetadata buildPartial()
Returns
Type Description
IndexAssetMetadata

clear()

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

clearStartTime()

public IndexAssetMetadata.Builder clearStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
IndexAssetMetadata.Builder

clearStatus()

public IndexAssetMetadata.Builder clearStatus()

The status of indexing this asset.

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

Returns
Type Description
IndexAssetMetadata.Builder

clearUpdateTime()

public IndexAssetMetadata.Builder clearUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
IndexAssetMetadata.Builder

getDefaultInstanceForType()

public IndexAssetMetadata getDefaultInstanceForType()
Returns
Type Description
IndexAssetMetadata

getDescriptorForType()

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

getStartTime()

public Timestamp getStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

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.

getStatusBuilder()

public IndexingStatus.Builder getStatusBuilder()

The status of indexing this asset.

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

Returns
Type Description
IndexingStatus.Builder

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IndexAssetMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IndexAssetMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

mergeStartTime(Timestamp value)

public IndexAssetMetadata.Builder mergeStartTime(Timestamp value)

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
IndexAssetMetadata.Builder

mergeStatus(IndexingStatus value)

public IndexAssetMetadata.Builder mergeStatus(IndexingStatus value)

The status of indexing this asset.

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

Parameter
Name Description
value IndexingStatus
Returns
Type Description
IndexAssetMetadata.Builder

mergeUpdateTime(Timestamp value)

public IndexAssetMetadata.Builder mergeUpdateTime(Timestamp value)

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
IndexAssetMetadata.Builder

setStartTime(Timestamp value)

public IndexAssetMetadata.Builder setStartTime(Timestamp value)

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
IndexAssetMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public IndexAssetMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IndexAssetMetadata.Builder

setStatus(IndexingStatus value)

public IndexAssetMetadata.Builder setStatus(IndexingStatus value)

The status of indexing this asset.

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

Parameter
Name Description
value IndexingStatus
Returns
Type Description
IndexAssetMetadata.Builder

setStatus(IndexingStatus.Builder builderForValue)

public IndexAssetMetadata.Builder setStatus(IndexingStatus.Builder builderForValue)

The status of indexing this asset.

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

Parameter
Name Description
builderForValue IndexingStatus.Builder
Returns
Type Description
IndexAssetMetadata.Builder

setUpdateTime(Timestamp value)

public IndexAssetMetadata.Builder setUpdateTime(Timestamp value)

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
IndexAssetMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public IndexAssetMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IndexAssetMetadata.Builder