Class Examples.ExampleGcsSource (3.25.0)

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

The Cloud Storage input instances.

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

Static Fields

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Examples.ExampleGcsSource getDefaultInstance()
Returns
TypeDescription
Examples.ExampleGcsSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Examples.ExampleGcsSource.Builder newBuilder()
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

newBuilder(Examples.ExampleGcsSource prototype)

public static Examples.ExampleGcsSource.Builder newBuilder(Examples.ExampleGcsSource prototype)
Parameter
NameDescription
prototypeExamples.ExampleGcsSource
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

parseDelimitedFrom(InputStream input)

public static Examples.ExampleGcsSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Examples.ExampleGcsSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Examples.ExampleGcsSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Examples.ExampleGcsSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Examples.ExampleGcsSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Examples.ExampleGcsSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Examples.ExampleGcsSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Examples.ExampleGcsSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Examples.ExampleGcsSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Examples.ExampleGcsSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Examples.ExampleGcsSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Examples.ExampleGcsSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;

Returns
TypeDescription
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.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for dataFormat.

getDefaultInstanceForType()

public Examples.ExampleGcsSource getDefaultInstanceForType()
Returns
TypeDescription
Examples.ExampleGcsSource

getGcsSource()

public GcsSource getGcsSource()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
GcsSourceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasGcsSource()

public boolean hasGcsSource()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Examples.ExampleGcsSource.Builder newBuilderForType()
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Examples.ExampleGcsSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Examples.ExampleGcsSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Examples.ExampleGcsSource.Builder toBuilder()
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException