Class Examples.ExampleGcsSource (0.6.0)

public static final class Examples.ExampleGcsSource extends GeneratedMessageV3 implements Examples.ExampleGcsSourceOrBuilder

The Cloud Storage input instances.

Protobuf type google.cloud.vertexai.v1.Examples.ExampleGcsSource

Static Fields

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Examples.ExampleGcsSource getDefaultInstance()
Returns
Type Description
Examples.ExampleGcsSource

getDescriptor()

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

newBuilder()

public static Examples.ExampleGcsSource.Builder newBuilder()
Returns
Type Description
Examples.ExampleGcsSource.Builder

newBuilder(Examples.ExampleGcsSource prototype)

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

parseDelimitedFrom(InputStream input)

public static Examples.ExampleGcsSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Examples.ExampleGcsSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Examples.ExampleGcsSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Examples.ExampleGcsSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Examples.ExampleGcsSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Examples.ExampleGcsSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Examples.ExampleGcsSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Examples.ExampleGcsSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Examples.ExampleGcsSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Examples.ExampleGcsSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Examples.ExampleGcsSource> parser()
Returns
Type Description
Parser<ExampleGcsSource>

Methods

equals(Object obj)

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

getDataFormat()

public Examples.ExampleGcsSource.DataFormat getDataFormat()

The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported.

.google.cloud.vertexai.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;

Returns
Type Description
Examples.ExampleGcsSource.DataFormat

The dataFormat.

getDataFormatValue()

public int getDataFormatValue()

The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported.

.google.cloud.vertexai.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;

Returns
Type Description
int

The enum numeric value on the wire for dataFormat.

getDefaultInstanceForType()

public Examples.ExampleGcsSource getDefaultInstanceForType()
Returns
Type Description
Examples.ExampleGcsSource

getGcsSource()

public GcsSource getGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSourceOrBuilder

getParserForType()

public Parser<Examples.ExampleGcsSource> getParserForType()
Returns
Type Description
Parser<ExampleGcsSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGcsSource()

public boolean hasGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

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 Examples.ExampleGcsSource.Builder newBuilderForType()
Returns
Type Description
Examples.ExampleGcsSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Examples.ExampleGcsSource.Builder toBuilder()
Returns
Type Description
Examples.ExampleGcsSource.Builder

writeTo(CodedOutputStream output)

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