Class AnalyzeAssetMetadata.AnalysisStatus (0.3.0)

public static final class AnalyzeAssetMetadata.AnalysisStatus extends GeneratedMessageV3 implements AnalyzeAssetMetadata.AnalysisStatusOrBuilder

The status of analysis on each search capability.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeAssetMetadata.AnalysisStatus

Static Fields

SEARCH_CAPABILITY_FIELD_NUMBER

public static final int SEARCH_CAPABILITY_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_MESSAGE_FIELD_NUMBER

public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnalyzeAssetMetadata.AnalysisStatus getDefaultInstance()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus

getDescriptor()

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

newBuilder()

public static AnalyzeAssetMetadata.AnalysisStatus.Builder newBuilder()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

newBuilder(AnalyzeAssetMetadata.AnalysisStatus prototype)

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

parseDelimitedFrom(InputStream input)

public static AnalyzeAssetMetadata.AnalysisStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnalyzeAssetMetadata.AnalysisStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AnalyzeAssetMetadata.AnalysisStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AnalyzeAssetMetadata.AnalysisStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AnalyzeAssetMetadata.AnalysisStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AnalyzeAssetMetadata.AnalysisStatus> parser()
Returns
Type Description
Parser<AnalysisStatus>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<AnalyzeAssetMetadata.AnalysisStatus> getParserForType()
Returns
Type Description
Parser<AnalysisStatus>
Overrides

getSearchCapability()

public SearchCapability getSearchCapability()

The search capability requested.

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

Returns
Type Description
SearchCapability

The searchCapability.

getSearchCapabilityOrBuilder()

public SearchCapabilityOrBuilder getSearchCapabilityOrBuilder()

The search capability requested.

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

Returns
Type Description
SearchCapabilityOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 AnalyzeAssetMetadata.AnalysisStatus.Builder newBuilderForType()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnalyzeAssetMetadata.AnalysisStatus.Builder toBuilder()
Returns
Type Description
AnalyzeAssetMetadata.AnalysisStatus.Builder

writeTo(CodedOutputStream output)

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