Class DatasetSpec (1.47.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatasetSpec getDefaultInstance()
Returns
TypeDescription
DatasetSpec

getDescriptor()

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

newBuilder()

public static DatasetSpec.Builder newBuilder()
Returns
TypeDescription
DatasetSpec.Builder

newBuilder(DatasetSpec prototype)

public static DatasetSpec.Builder newBuilder(DatasetSpec prototype)
Parameter
NameDescription
prototypeDatasetSpec
Returns
TypeDescription
DatasetSpec.Builder

parseDelimitedFrom(InputStream input)

public static DatasetSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatasetSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DatasetSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatasetSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DatasetSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatasetSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DatasetSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatasetSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DatasetSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatasetSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DatasetSpec> parser()
Returns
TypeDescription
Parser<DatasetSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DatasetSpec getDefaultInstanceForType()
Returns
TypeDescription
DatasetSpec

getParserForType()

public Parser<DatasetSpec> getParserForType()
Returns
TypeDescription
Parser<DatasetSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSystemSpecCase()

public DatasetSpec.SystemSpecCase getSystemSpecCase()
Returns
TypeDescription
DatasetSpec.SystemSpecCase

getVertexDatasetSpec()

public VertexDatasetSpec getVertexDatasetSpec()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
VertexDatasetSpec

The vertexDatasetSpec.

getVertexDatasetSpecOrBuilder()

public VertexDatasetSpecOrBuilder getVertexDatasetSpecOrBuilder()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
VertexDatasetSpecOrBuilder

hasVertexDatasetSpec()

public boolean hasVertexDatasetSpec()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DatasetSpec.Builder toBuilder()
Returns
TypeDescription
DatasetSpec.Builder

writeTo(CodedOutputStream output)

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