Class AnalyzeAssetMetadata.Builder (0.11.0)

public static final class AnalyzeAssetMetadata.Builder extends GeneratedMessageV3.Builder<AnalyzeAssetMetadata.Builder> implements AnalyzeAssetMetadataOrBuilder

Metadata for AnalyzeAsset.

Protobuf type google.cloud.visionai.v1.AnalyzeAssetMetadata

Static Methods

getDescriptor()

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

Methods

addAllAnalysisStatus(Iterable<? extends AnalyzeAssetMetadata.AnalysisStatus> values)

public AnalyzeAssetMetadata.Builder addAllAnalysisStatus(Iterable<? extends AnalyzeAssetMetadata.AnalysisStatus> values)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus>
Returns
Type Description
AnalyzeAssetMetadata.Builder

addAnalysisStatus(AnalyzeAssetMetadata.AnalysisStatus value)

public AnalyzeAssetMetadata.Builder addAnalysisStatus(AnalyzeAssetMetadata.AnalysisStatus value)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
value AnalyzeAssetMetadata.AnalysisStatus
Returns
Type Description
AnalyzeAssetMetadata.Builder

addAnalysisStatus(AnalyzeAssetMetadata.AnalysisStatus.Builder builderForValue)

public AnalyzeAssetMetadata.Builder addAnalysisStatus(AnalyzeAssetMetadata.AnalysisStatus.Builder builderForValue)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
builderForValue AnalyzeAssetMetadata.AnalysisStatus.Builder
Returns
Type Description
AnalyzeAssetMetadata.Builder

addAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus value)

public AnalyzeAssetMetadata.Builder addAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus value)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameters
Name Description
index int
value AnalyzeAssetMetadata.AnalysisStatus
Returns
Type Description
AnalyzeAssetMetadata.Builder

addAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus.Builder builderForValue)

public AnalyzeAssetMetadata.Builder addAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus.Builder builderForValue)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameters
Name Description
index int
builderForValue AnalyzeAssetMetadata.AnalysisStatus.Builder
Returns
Type Description
AnalyzeAssetMetadata.Builder

addAnalysisStatusBuilder()

public AnalyzeAssetMetadata.AnalysisStatus.Builder addAnalysisStatusBuilder()

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

addAnalysisStatusBuilder(int index)

public AnalyzeAssetMetadata.AnalysisStatus.Builder addAnalysisStatusBuilder(int index)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeAssetMetadata build()
Returns
Type Description
AnalyzeAssetMetadata

buildPartial()

public AnalyzeAssetMetadata buildPartial()
Returns
Type Description
AnalyzeAssetMetadata

clear()

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

clearAnalysisStatus()

public AnalyzeAssetMetadata.Builder clearAnalysisStatus()

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Returns
Type Description
AnalyzeAssetMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeAssetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeAssetMetadata.Builder
Overrides

clearStartTime()

public AnalyzeAssetMetadata.Builder clearStartTime()

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
AnalyzeAssetMetadata.Builder

clearUpdateTime()

public AnalyzeAssetMetadata.Builder clearUpdateTime()

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
AnalyzeAssetMetadata.Builder

clone()

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

getAnalysisStatus(int index)

public AnalyzeAssetMetadata.AnalysisStatus getAnalysisStatus(int index)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus

getAnalysisStatusBuilder(int index)

public AnalyzeAssetMetadata.AnalysisStatus.Builder getAnalysisStatusBuilder(int index)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

getAnalysisStatusBuilderList()

public List<AnalyzeAssetMetadata.AnalysisStatus.Builder> getAnalysisStatusBuilderList()

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Returns
Type Description
List<Builder>

getAnalysisStatusCount()

public int getAnalysisStatusCount()

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Returns
Type Description
int

getAnalysisStatusList()

public List<AnalyzeAssetMetadata.AnalysisStatus> getAnalysisStatusList()

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Returns
Type Description
List<AnalysisStatus>

getAnalysisStatusOrBuilder(int index)

public AnalyzeAssetMetadata.AnalysisStatusOrBuilder getAnalysisStatusOrBuilder(int index)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatusOrBuilder

getAnalysisStatusOrBuilderList()

public List<? extends AnalyzeAssetMetadata.AnalysisStatusOrBuilder> getAnalysisStatusOrBuilderList()

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatusOrBuilder>

getDefaultInstanceForType()

public AnalyzeAssetMetadata getDefaultInstanceForType()
Returns
Type Description
AnalyzeAssetMetadata

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

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.

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(AnalyzeAssetMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public AnalyzeAssetMetadata.Builder mergeStartTime(Timestamp value)

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
AnalyzeAssetMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AnalyzeAssetMetadata.Builder mergeUpdateTime(Timestamp value)

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
AnalyzeAssetMetadata.Builder

removeAnalysisStatus(int index)

public AnalyzeAssetMetadata.Builder removeAnalysisStatus(int index)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeAssetMetadata.Builder

setAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus value)

public AnalyzeAssetMetadata.Builder setAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus value)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameters
Name Description
index int
value AnalyzeAssetMetadata.AnalysisStatus
Returns
Type Description
AnalyzeAssetMetadata.Builder

setAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus.Builder builderForValue)

public AnalyzeAssetMetadata.Builder setAnalysisStatus(int index, AnalyzeAssetMetadata.AnalysisStatus.Builder builderForValue)

The status of analysis on all search capabilities.

repeated .google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus analysis_status = 1;

Parameters
Name Description
index int
builderForValue AnalyzeAssetMetadata.AnalysisStatus.Builder
Returns
Type Description
AnalyzeAssetMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public AnalyzeAssetMetadata.Builder setStartTime(Timestamp value)

The start time of the operation.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
AnalyzeAssetMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public AnalyzeAssetMetadata.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
AnalyzeAssetMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AnalyzeAssetMetadata.Builder setUpdateTime(Timestamp value)

The update time of the operation.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
AnalyzeAssetMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AnalyzeAssetMetadata.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
AnalyzeAssetMetadata.Builder