Class IndexingStatus.Builder (0.10.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IndexingStatus build()
Returns
Type Description
IndexingStatus

buildPartial()

public IndexingStatus buildPartial()
Returns
Type Description
IndexingStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public IndexingStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IndexingStatus.Builder
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];

Returns
Type Description
IndexingStatus.Builder

This builder for chaining.

clearStatusMessage()

public IndexingStatus.Builder clearStatusMessage()

Detailed message describing the state.

string status_message = 3;

Returns
Type Description
IndexingStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IndexingStatus getDefaultInstanceForType()
Returns
Type Description
IndexingStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
IndexingStatus.State

The state.

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IndexingStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public IndexingStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IndexingStatus.Builder
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];

Parameter
Name Description
value IndexingStatus.State

The state to set.

Returns
Type Description
IndexingStatus.Builder

This builder for chaining.

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.

Returns
Type Description
IndexingStatus.Builder

This builder for chaining.

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.

Returns
Type Description
IndexingStatus.Builder

This builder for chaining.

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.

Returns
Type Description
IndexingStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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