public static final class IndexingStatus.Builder extends GeneratedMessageV3.Builder<IndexingStatus.Builder> implements IndexingStatusOrBuilder
The status of indexing for the asset.
Protobuf type google.cloud.visionai.v1.IndexingStatus
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IndexingStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IndexingStatus build()
buildPartial()
public IndexingStatus buildPartial()
clear()
public IndexingStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public IndexingStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IndexingStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public IndexingStatus.Builder clearState()
Output only. State of this asset's indexing.
.google.cloud.visionai.v1.IndexingStatus.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearStatusMessage()
public IndexingStatus.Builder clearStatusMessage()
Detailed message describing the state.
string status_message = 3;
clone()
public IndexingStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public IndexingStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
public IndexingStatus.State getState()
Output only. State of this asset's indexing.
.google.cloud.visionai.v1.IndexingStatus.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of this asset's indexing.
.google.cloud.visionai.v1.IndexingStatus.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getStatusMessage()
public String getStatusMessage()
Detailed message describing the state.
string status_message = 3;
Returns |
Type |
Description |
String |
The statusMessage.
|
getStatusMessageBytes()
public ByteString getStatusMessageBytes()
Detailed message describing the state.
string status_message = 3;
Returns |
Type |
Description |
ByteString |
The bytes for statusMessage.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IndexingStatus other)
public IndexingStatus.Builder mergeFrom(IndexingStatus other)
public IndexingStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IndexingStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IndexingStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public IndexingStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IndexingStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(IndexingStatus.State value)
public IndexingStatus.Builder setState(IndexingStatus.State value)
Output only. State of this asset's indexing.
.google.cloud.visionai.v1.IndexingStatus.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setStateValue(int value)
public IndexingStatus.Builder setStateValue(int value)
Output only. State of this asset's indexing.
.google.cloud.visionai.v1.IndexingStatus.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for state to set.
|
setStatusMessage(String value)
public IndexingStatus.Builder setStatusMessage(String value)
Detailed message describing the state.
string status_message = 3;
Parameter |
Name |
Description |
value |
String
The statusMessage to set.
|
setStatusMessageBytes(ByteString value)
public IndexingStatus.Builder setStatusMessageBytes(ByteString value)
Detailed message describing the state.
string status_message = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for statusMessage to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final IndexingStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides