public static final class CreateEvaluationRequest.Builder extends GeneratedMessage.Builder<CreateEvaluationRequest.Builder> implements CreateEvaluationRequestOrBuilderRequest message for EvaluationService.CreateEvaluation.
Protobuf type google.cloud.ces.v1beta.CreateEvaluationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateEvaluationRequest.BuilderImplements
CreateEvaluationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateEvaluationRequest build()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest |
|
buildPartial()
public CreateEvaluationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest |
|
clear()
public CreateEvaluationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
clearEvaluation()
public CreateEvaluationRequest.Builder clearEvaluation()Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
clearEvaluationId()
public CreateEvaluationRequest.Builder clearEvaluationId()Optional. The ID to use for the evaluation, which will become the final component of the evaluation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
This builder for chaining. |
clearParent()
public CreateEvaluationRequest.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 |
CreateEvaluationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateEvaluationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvaluation()
public Evaluation getEvaluation()Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Evaluation |
The evaluation. |
getEvaluationBuilder()
public Evaluation.Builder getEvaluationBuilder()Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Evaluation.Builder |
|
getEvaluationId()
public String getEvaluationId()Optional. The ID to use for the evaluation, which will become the final component of the evaluation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The evaluationId. |
getEvaluationIdBytes()
public ByteString getEvaluationIdBytes()Optional. The ID to use for the evaluation, which will become the final component of the evaluation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for evaluationId. |
getEvaluationOrBuilder()
public EvaluationOrBuilder getEvaluationOrBuilder()Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EvaluationOrBuilder |
|
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. |
hasEvaluation()
public boolean hasEvaluation()Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the evaluation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEvaluation(Evaluation value)
public CreateEvaluationRequest.Builder mergeEvaluation(Evaluation value)Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Evaluation |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
mergeFrom(CreateEvaluationRequest other)
public CreateEvaluationRequest.Builder mergeFrom(CreateEvaluationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateEvaluationRequest |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateEvaluationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
setEvaluation(Evaluation value)
public CreateEvaluationRequest.Builder setEvaluation(Evaluation value)Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Evaluation |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
setEvaluation(Evaluation.Builder builderForValue)
public CreateEvaluationRequest.Builder setEvaluation(Evaluation.Builder builderForValue)Required. The evaluation to create.
.google.cloud.ces.v1beta.Evaluation evaluation = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Evaluation.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
|
setEvaluationId(String value)
public CreateEvaluationRequest.Builder setEvaluationId(String value)Optional. The ID to use for the evaluation, which will become the final component of the evaluation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe evaluationId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
This builder for chaining. |
setEvaluationIdBytes(ByteString value)
public CreateEvaluationRequest.Builder setEvaluationIdBytes(ByteString value)Optional. The ID to use for the evaluation, which will become the final component of the evaluation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
string evaluation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for evaluationId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateEvaluationRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateEvaluationRequest.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 |
CreateEvaluationRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateEvaluationRequest.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 |
CreateEvaluationRequest.Builder |
This builder for chaining. |