Interface CreateDatasetRequestOrBuilder (0.139.0)

public interface CreateDatasetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataset()

public abstract Dataset getDataset()

Required. The dataset to be created.

.google.cloud.datalabeling.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Dataset

The dataset.

getDatasetOrBuilder()

public abstract DatasetOrBuilder getDatasetOrBuilder()

Required. The dataset to be created.

.google.cloud.datalabeling.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatasetOrBuilder

getParent()

public abstract String getParent()

Required. Dataset resource parent, format: projects/{project_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Dataset resource parent, format: projects/{project_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasDataset()

public abstract boolean hasDataset()

Required. The dataset to be created.

.google.cloud.datalabeling.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataset field is set.