Class VertexDatasetSpec (1.38.0)

public final class VertexDatasetSpec extends GeneratedMessageV3 implements VertexDatasetSpecOrBuilder

Specification for vertex dataset resources.

Protobuf type google.cloud.datacatalog.v1.VertexDatasetSpec

Static Fields

DATA_ITEM_COUNT_FIELD_NUMBER

public static final int DATA_ITEM_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VertexDatasetSpec getDefaultInstance()
Returns
TypeDescription
VertexDatasetSpec

getDescriptor()

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

newBuilder()

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

newBuilder(VertexDatasetSpec prototype)

public static VertexDatasetSpec.Builder newBuilder(VertexDatasetSpec prototype)
Parameter
NameDescription
prototypeVertexDatasetSpec
Returns
TypeDescription
VertexDatasetSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataItemCount()

public long getDataItemCount()

The number of DataItems in this Dataset. Only apply for non-structured Dataset.

int64 data_item_count = 1;

Returns
TypeDescription
long

The dataItemCount.

getDataType()

public VertexDatasetSpec.DataType getDataType()

Type of the dataset.

.google.cloud.datacatalog.v1.VertexDatasetSpec.DataType data_type = 2;

Returns
TypeDescription
VertexDatasetSpec.DataType

The dataType.

getDataTypeValue()

public int getDataTypeValue()

Type of the dataset.

.google.cloud.datacatalog.v1.VertexDatasetSpec.DataType data_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for dataType.

getDefaultInstanceForType()

public VertexDatasetSpec getDefaultInstanceForType()
Returns
TypeDescription
VertexDatasetSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 VertexDatasetSpec.Builder newBuilderForType()
Returns
TypeDescription
VertexDatasetSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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