public static final class CreateEvaluationDatasetRequest.Builder extends GeneratedMessage.Builder<CreateEvaluationDatasetRequest.Builder> implements CreateEvaluationDatasetRequestOrBuilderRequest message for EvaluationService.CreateEvaluationDataset.
Protobuf type google.cloud.ces.v1beta.CreateEvaluationDatasetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateEvaluationDatasetRequest.BuilderImplements
CreateEvaluationDatasetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateEvaluationDatasetRequest build()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest |
|
buildPartial()
public CreateEvaluationDatasetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest |
|
clear()
public CreateEvaluationDatasetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
clearEvaluationDataset()
public CreateEvaluationDatasetRequest.Builder clearEvaluationDataset()Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
clearEvaluationDatasetId()
public CreateEvaluationDatasetRequest.Builder clearEvaluationDatasetId()Optional. The ID to use for the evaluation dataset, which will become the final component of the evaluation dataset's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
This builder for chaining. |
clearParent()
public CreateEvaluationDatasetRequest.Builder clearParent() Required. The app to create the evaluation for.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateEvaluationDatasetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvaluationDataset()
public EvaluationDataset getEvaluationDataset()Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EvaluationDataset |
The evaluationDataset. |
getEvaluationDatasetBuilder()
public EvaluationDataset.Builder getEvaluationDatasetBuilder()Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EvaluationDataset.Builder |
|
getEvaluationDatasetId()
public String getEvaluationDatasetId()Optional. The ID to use for the evaluation dataset, which will become the final component of the evaluation dataset's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The evaluationDatasetId. |
getEvaluationDatasetIdBytes()
public ByteString getEvaluationDatasetIdBytes()Optional. The ID to use for the evaluation dataset, which will become the final component of the evaluation dataset's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for evaluationDatasetId. |
getEvaluationDatasetOrBuilder()
public EvaluationDatasetOrBuilder getEvaluationDatasetOrBuilder()Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EvaluationDatasetOrBuilder |
|
getParent()
public String getParent() Required. The app to create the evaluation for.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The app to create the evaluation for.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasEvaluationDataset()
public boolean hasEvaluationDataset()Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the evaluationDataset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEvaluationDataset(EvaluationDataset value)
public CreateEvaluationDatasetRequest.Builder mergeEvaluationDataset(EvaluationDataset value)Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationDataset |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
mergeFrom(CreateEvaluationDatasetRequest other)
public CreateEvaluationDatasetRequest.Builder mergeFrom(CreateEvaluationDatasetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateEvaluationDatasetRequest |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateEvaluationDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateEvaluationDatasetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
setEvaluationDataset(EvaluationDataset value)
public CreateEvaluationDatasetRequest.Builder setEvaluationDataset(EvaluationDataset value)Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationDataset |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
setEvaluationDataset(EvaluationDataset.Builder builderForValue)
public CreateEvaluationDatasetRequest.Builder setEvaluationDataset(EvaluationDataset.Builder builderForValue)Required. The evaluation dataset to create.
.google.cloud.ces.v1beta.EvaluationDataset evaluation_dataset = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationDataset.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
|
setEvaluationDatasetId(String value)
public CreateEvaluationDatasetRequest.Builder setEvaluationDatasetId(String value)Optional. The ID to use for the evaluation dataset, which will become the final component of the evaluation dataset's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe evaluationDatasetId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
This builder for chaining. |
setEvaluationDatasetIdBytes(ByteString value)
public CreateEvaluationDatasetRequest.Builder setEvaluationDatasetIdBytes(ByteString value)Optional. The ID to use for the evaluation dataset, which will become the final component of the evaluation dataset's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_dataset_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for evaluationDatasetId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateEvaluationDatasetRequest.Builder setParent(String value) Required. The app to create the evaluation for.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateEvaluationDatasetRequest.Builder setParentBytes(ByteString value) Required. The app to create the evaluation for.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationDatasetRequest.Builder |
This builder for chaining. |