Class AnalyzeAssetMetadata.AnalysisStatus.Builder (0.9.0)

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

The status of analysis on each search capability.

Protobuf type google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeAssetMetadata.AnalysisStatus build()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus

buildPartial()

public AnalyzeAssetMetadata.AnalysisStatus buildPartial()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchCapability()

public AnalyzeAssetMetadata.AnalysisStatus.Builder clearSearchCapability()

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

clearState()

public AnalyzeAssetMetadata.AnalysisStatus.Builder clearState()

.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

This builder for chaining.

clearStatusMessage()

public AnalyzeAssetMetadata.AnalysisStatus.Builder clearStatusMessage()

string status_message = 3;

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AnalyzeAssetMetadata.AnalysisStatus getDefaultInstanceForType()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus

getDescriptorForType()

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

getSearchCapability()

public SearchCapability getSearchCapability()

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

Returns
Type Description
SearchCapability

The searchCapability.

getSearchCapabilityBuilder()

public SearchCapability.Builder getSearchCapabilityBuilder()

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

Returns
Type Description
SearchCapability.Builder

getSearchCapabilityOrBuilder()

public SearchCapabilityOrBuilder getSearchCapabilityOrBuilder()

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

Returns
Type Description
SearchCapabilityOrBuilder

getState()

public AnalyzeAssetMetadata.AnalysisStatus.State getState()

.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.State

The state.

getStateValue()

public int getStateValue()

.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

getStatusMessage()

public String getStatusMessage()

string status_message = 3;

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

public ByteString getStatusMessageBytes()

string status_message = 3;

Returns
Type Description
ByteString

The bytes for statusMessage.

hasSearchCapability()

public boolean hasSearchCapability()

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

Returns
Type Description
boolean

Whether the searchCapability 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.AnalysisStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSearchCapability(SearchCapability value)

public AnalyzeAssetMetadata.AnalysisStatus.Builder mergeSearchCapability(SearchCapability value)

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSearchCapability(SearchCapability value)

public AnalyzeAssetMetadata.AnalysisStatus.Builder setSearchCapability(SearchCapability value)

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

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

setSearchCapability(SearchCapability.Builder builderForValue)

public AnalyzeAssetMetadata.AnalysisStatus.Builder setSearchCapability(SearchCapability.Builder builderForValue)

The search capability requested.

.google.cloud.visionai.v1.SearchCapability search_capability = 4;

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

setState(AnalyzeAssetMetadata.AnalysisStatus.State value)

public AnalyzeAssetMetadata.AnalysisStatus.Builder setState(AnalyzeAssetMetadata.AnalysisStatus.State value)

.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;

Parameter
Name Description
value AnalyzeAssetMetadata.AnalysisStatus.State

The state to set.

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

This builder for chaining.

setStateValue(int value)

public AnalyzeAssetMetadata.AnalysisStatus.Builder setStateValue(int value)

.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

This builder for chaining.

setStatusMessage(String value)

public AnalyzeAssetMetadata.AnalysisStatus.Builder setStatusMessage(String value)

string status_message = 3;

Parameter
Name Description
value String

The statusMessage to set.

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

This builder for chaining.

setStatusMessageBytes(ByteString value)

public AnalyzeAssetMetadata.AnalysisStatus.Builder setStatusMessageBytes(ByteString value)

string status_message = 3;

Parameter
Name Description
value ByteString

The bytes for statusMessage to set.

Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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