Class FileStatus (3.53.0)

public final class FileStatus extends GeneratedMessageV3 implements FileStatusOrBuilder

RagFile status.

Protobuf type google.cloud.aiplatform.v1beta1.FileStatus

Implements

FileStatusOrBuilder

Static Fields

ERROR_STATUS_FIELD_NUMBER

public static final int ERROR_STATUS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FileStatus getDefaultInstance()
Returns
Type Description
FileStatus

getDescriptor()

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

newBuilder()

public static FileStatus.Builder newBuilder()
Returns
Type Description
FileStatus.Builder

newBuilder(FileStatus prototype)

public static FileStatus.Builder newBuilder(FileStatus prototype)
Parameter
Name Description
prototype FileStatus
Returns
Type Description
FileStatus.Builder

parseDelimitedFrom(InputStream input)

public static FileStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FileStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FileStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FileStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FileStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FileStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FileStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FileStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FileStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FileStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FileStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FileStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FileStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FileStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FileStatus> parser()
Returns
Type Description
Parser<FileStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FileStatus getDefaultInstanceForType()
Returns
Type Description
FileStatus

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.

getParserForType()

public Parser<FileStatus> getParserForType()
Returns
Type Description
Parser<FileStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FileStatus.Builder newBuilderForType()
Returns
Type Description
FileStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FileStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FileStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FileStatus.Builder toBuilder()
Returns
Type Description
FileStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException