Class CorpusStatus.Builder (3.52.0)

public static final class CorpusStatus.Builder extends GeneratedMessageV3.Builder<CorpusStatus.Builder> implements CorpusStatusOrBuilder

RagCorpus status.

Protobuf type google.cloud.aiplatform.v1beta1.CorpusStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CorpusStatus build()
Returns
Type Description
CorpusStatus

buildPartial()

public CorpusStatus buildPartial()
Returns
Type Description
CorpusStatus

clear()

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

clearErrorStatus()

public CorpusStatus.Builder clearErrorStatus()

Output only. Only when the state field is ERROR.

string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CorpusStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public CorpusStatus.Builder clearState()

Output only. RagCorpus life state.

.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CorpusStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CorpusStatus getDefaultInstanceForType()
Returns
Type Description
CorpusStatus

getDescriptorForType()

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

getErrorStatus()

public String getErrorStatus()

Output only. Only when the state field is ERROR.

string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorStatus.

getErrorStatusBytes()

public ByteString getErrorStatusBytes()

Output only. Only when the state field is ERROR.

string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorStatus.

getState()

public CorpusStatus.State getState()

Output only. RagCorpus life state.

.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CorpusStatus.State

The state.

getStateValue()

public int getStateValue()

Output only. RagCorpus life state.

.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CorpusStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorStatus(String value)

public CorpusStatus.Builder setErrorStatus(String value)

Output only. Only when the state field is ERROR.

string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The errorStatus to set.

Returns
Type Description
CorpusStatus.Builder

This builder for chaining.

setErrorStatusBytes(ByteString value)

public CorpusStatus.Builder setErrorStatusBytes(ByteString value)

Output only. Only when the state field is ERROR.

string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for errorStatus to set.

Returns
Type Description
CorpusStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(CorpusStatus.State value)

public CorpusStatus.Builder setState(CorpusStatus.State value)

Output only. RagCorpus life state.

.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CorpusStatus.State

The state to set.

Returns
Type Description
CorpusStatus.Builder

This builder for chaining.

setStateValue(int value)

public CorpusStatus.Builder setStateValue(int value)

Output only. RagCorpus life state.

.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.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
CorpusStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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