Class IndexAssetMetadata.Builder (0.3.0)

public static final class IndexAssetMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IndexAssetMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public IndexAssetMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IndexAssetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IndexAssetMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public IndexAssetMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IndexAssetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final IndexAssetMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IndexAssetMetadata.Builder
Overrides

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