Class VertexDatasetSpec.Builder (1.49.0)

public static final class VertexDatasetSpec.Builder extends GeneratedMessageV3.Builder<VertexDatasetSpec.Builder> implements VertexDatasetSpecOrBuilder

Specification for vertex dataset resources.

Protobuf type google.cloud.datacatalog.v1.VertexDatasetSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VertexDatasetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

build()

public VertexDatasetSpec build()
Returns
Type Description
VertexDatasetSpec

buildPartial()

public VertexDatasetSpec buildPartial()
Returns
Type Description
VertexDatasetSpec

clear()

public VertexDatasetSpec.Builder clear()
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

clearDataItemCount()

public VertexDatasetSpec.Builder clearDataItemCount()

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

int64 data_item_count = 1;

Returns
Type Description
VertexDatasetSpec.Builder

This builder for chaining.

clearDataType()

public VertexDatasetSpec.Builder clearDataType()

Type of the dataset.

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

Returns
Type Description
VertexDatasetSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VertexDatasetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VertexDatasetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

clone()

public VertexDatasetSpec.Builder clone()
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

getDataItemCount()

public long getDataItemCount()

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

int64 data_item_count = 1;

Returns
Type Description
long

The dataItemCount.

getDataType()

public VertexDatasetSpec.DataType getDataType()

Type of the dataset.

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

Returns
Type Description
VertexDatasetSpec.DataType

The dataType.

getDataTypeValue()

public int getDataTypeValue()

Type of the dataset.

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

Returns
Type Description
int

The enum numeric value on the wire for dataType.

getDefaultInstanceForType()

public VertexDatasetSpec getDefaultInstanceForType()
Returns
Type Description
VertexDatasetSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VertexDatasetSpec other)

public VertexDatasetSpec.Builder mergeFrom(VertexDatasetSpec other)
Parameter
Name Description
other VertexDatasetSpec
Returns
Type Description
VertexDatasetSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VertexDatasetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VertexDatasetSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VertexDatasetSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VertexDatasetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

setDataItemCount(long value)

public VertexDatasetSpec.Builder setDataItemCount(long value)

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

int64 data_item_count = 1;

Parameter
Name Description
value long

The dataItemCount to set.

Returns
Type Description
VertexDatasetSpec.Builder

This builder for chaining.

setDataType(VertexDatasetSpec.DataType value)

public VertexDatasetSpec.Builder setDataType(VertexDatasetSpec.DataType value)

Type of the dataset.

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

Parameter
Name Description
value VertexDatasetSpec.DataType

The dataType to set.

Returns
Type Description
VertexDatasetSpec.Builder

This builder for chaining.

setDataTypeValue(int value)

public VertexDatasetSpec.Builder setDataTypeValue(int value)

Type of the dataset.

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

Parameter
Name Description
value int

The enum numeric value on the wire for dataType to set.

Returns
Type Description
VertexDatasetSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VertexDatasetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VertexDatasetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VertexDatasetSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VertexDatasetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VertexDatasetSpec.Builder
Overrides