Class FileStatus.Builder (3.52.0)

public static final class FileStatus.Builder extends GeneratedMessageV3.Builder<FileStatus.Builder> implements FileStatusOrBuilder

RagFile status.

Protobuf type google.cloud.aiplatform.v1beta1.FileStatus

Implements

FileStatusOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileStatus build()
Returns
Type Description
FileStatus

buildPartial()

public FileStatus buildPartial()
Returns
Type Description
FileStatus

clear()

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

clearErrorStatus()

public FileStatus.Builder clearErrorStatus()

Output only. Only when the state field is ERROR.

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

Returns
Type Description
FileStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public FileStatus.Builder clearState()

Output only. RagFile state.

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

Returns
Type Description
FileStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FileStatus getDefaultInstanceForType()
Returns
Type Description
FileStatus

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 FileStatus.State getState()

Output only. RagFile state.

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

Returns
Type Description
FileStatus.State

The state.

getStateValue()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FileStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorStatus(String value)

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.

Returns
Type Description
FileStatus.Builder

This builder for chaining.

setErrorStatusBytes(ByteString value)

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.

Returns
Type Description
FileStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(FileStatus.State value)

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];

Parameter
Name Description
value FileStatus.State

The state to set.

Returns
Type Description
FileStatus.Builder

This builder for chaining.

setStateValue(int value)

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.

Returns
Type Description
FileStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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