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