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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AnalyzeAssetMetadata.AnalysisStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus build()
public AnalyzeAssetMetadata.AnalysisStatus buildPartial()
public AnalyzeAssetMetadata.AnalysisStatus.Builder clear()
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder clearSearchCapability()
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public AnalyzeAssetMetadata.AnalysisStatus.Builder clearState()
.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;
public AnalyzeAssetMetadata.AnalysisStatus.Builder clearStatusMessage()
string status_message = 3;
public AnalyzeAssetMetadata.AnalysisStatus.Builder clone()
Overrides
public AnalyzeAssetMetadata.AnalysisStatus getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public SearchCapability getSearchCapability()
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public SearchCapability.Builder getSearchCapabilityBuilder()
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public SearchCapabilityOrBuilder getSearchCapabilityOrBuilder()
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public AnalyzeAssetMetadata.AnalysisStatus.State getState()
.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;
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.
|
public String getStatusMessage()
string status_message = 3;
Returns |
Type |
Description |
String |
The statusMessage.
|
public ByteString getStatusMessageBytes()
string status_message = 3;
Returns |
Type |
Description |
ByteString |
The bytes for statusMessage.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder mergeFrom(AnalyzeAssetMetadata.AnalysisStatus other)
public AnalyzeAssetMetadata.AnalysisStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder mergeSearchCapability(SearchCapability value)
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public final AnalyzeAssetMetadata.AnalysisStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public AnalyzeAssetMetadata.AnalysisStatus.Builder setSearchCapability(SearchCapability value)
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public AnalyzeAssetMetadata.AnalysisStatus.Builder setSearchCapability(SearchCapability.Builder builderForValue)
The search capability requested.
.google.cloud.visionai.v1.SearchCapability search_capability = 4;
public AnalyzeAssetMetadata.AnalysisStatus.Builder setState(AnalyzeAssetMetadata.AnalysisStatus.State value)
.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;
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.
|
public AnalyzeAssetMetadata.AnalysisStatus.Builder setStatusMessage(String value)
string status_message = 3;
Parameter |
Name |
Description |
value |
String
The statusMessage to set.
|
public AnalyzeAssetMetadata.AnalysisStatus.Builder setStatusMessageBytes(ByteString value)
string status_message = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for statusMessage to set.
|
public final AnalyzeAssetMetadata.AnalysisStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides