public static final class CorpusStatus.Builder extends GeneratedMessageV3.Builder<CorpusStatus.Builder> implements CorpusStatusOrBuilder
RagCorpus status.
Protobuf type google.cloud.aiplatform.v1beta1.CorpusStatus
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 CorpusStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CorpusStatus build()
public CorpusStatus buildPartial()
public CorpusStatus.Builder clear()
Overrides
public CorpusStatus.Builder clearErrorStatus()
Output only. Only when the state
field is ERROR.
string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CorpusStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CorpusStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CorpusStatus.Builder clearState()
Output only. RagCorpus life state.
.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CorpusStatus.Builder clone()
Overrides
public CorpusStatus getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
public CorpusStatus.State getState()
Output only. RagCorpus life state.
.google.cloud.aiplatform.v1beta1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CorpusStatus.Builder mergeFrom(CorpusStatus other)
public CorpusStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CorpusStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final CorpusStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
public CorpusStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CorpusStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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.
|
public final CorpusStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides