Class DatasetSpec (1.49.0)

public final class DatasetSpec extends GeneratedMessageV3 implements DatasetSpecOrBuilder

Specification that applies to a dataset. Valid only for entries with the DATASET type.

Protobuf type google.cloud.datacatalog.v1.DatasetSpec

Static Fields

VERTEX_DATASET_SPEC_FIELD_NUMBER

public static final int VERTEX_DATASET_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatasetSpec getDefaultInstance()
Returns
Type Description
DatasetSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DatasetSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DatasetSpec getDefaultInstanceForType()
Returns
Type Description
DatasetSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSystemSpecCase()

public DatasetSpec.SystemSpecCase getSystemSpecCase()
Returns
Type Description
DatasetSpec.SystemSpecCase

getVertexDatasetSpec()

public VertexDatasetSpec getVertexDatasetSpec()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
VertexDatasetSpec

The vertexDatasetSpec.

getVertexDatasetSpecOrBuilder()

public VertexDatasetSpecOrBuilder getVertexDatasetSpecOrBuilder()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
VertexDatasetSpecOrBuilder

hasVertexDatasetSpec()

public boolean hasVertexDatasetSpec()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
boolean

Whether the vertexDatasetSpec 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 DatasetSpec.Builder newBuilderForType()
Returns
Type Description
DatasetSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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