Class VertexDatasetSpec.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VertexDatasetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides

build()

public VertexDatasetSpec build()
Returns
TypeDescription
VertexDatasetSpec

buildPartial()

public VertexDatasetSpec buildPartial()
Returns
TypeDescription
VertexDatasetSpec

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VertexDatasetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VertexDatasetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VertexDatasetSpec other)

public VertexDatasetSpec.Builder mergeFrom(VertexDatasetSpec other)
Parameter
NameDescription
otherVertexDatasetSpec
Returns
TypeDescription
VertexDatasetSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VertexDatasetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VertexDatasetSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VertexDatasetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The dataItemCount to set.

Returns
TypeDescription
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
NameDescription
valueVertexDatasetSpec.DataType

The dataType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
VertexDatasetSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VertexDatasetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides

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

public VertexDatasetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VertexDatasetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VertexDatasetSpec.Builder
Overrides