Class CreateEvaluationRequest.Builder (0.47.0)

public static final class CreateEvaluationRequest.Builder extends GeneratedMessageV3.Builder<CreateEvaluationRequest.Builder> implements CreateEvaluationRequestOrBuilder

Request message for EvaluationService.CreateEvaluation method.

Protobuf type google.cloud.discoveryengine.v1beta.CreateEvaluationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearEvaluation()

public CreateEvaluationRequest.Builder clearEvaluation()

Required. The Evaluation to create.

.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEvaluationRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEvaluationRequest.Builder clearParent()

Required. The parent resource name, such as projects/{project}/locations/{location}.

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

Returns
Type Description
CreateEvaluationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEvaluationRequest getDefaultInstanceForType()
Returns
Type Description
CreateEvaluationRequest

getDescriptorForType()

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

getEvaluation()

public Evaluation getEvaluation()

Required. The Evaluation to create.

.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Evaluation

The evaluation.

getEvaluationBuilder()

public Evaluation.Builder getEvaluationBuilder()

Required. The Evaluation to create.

.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Evaluation.Builder

getEvaluationOrBuilder()

public EvaluationOrBuilder getEvaluationOrBuilder()

Required. The Evaluation to create.

.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EvaluationOrBuilder

getParent()

public String getParent()

Required. The parent resource name, such as projects/{project}/locations/{location}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name, such as projects/{project}/locations/{location}.

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.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the evaluation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEvaluation(Evaluation value)

public CreateEvaluationRequest.Builder mergeEvaluation(Evaluation value)

Required. The Evaluation to create.

.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEvaluation(Evaluation value)

public CreateEvaluationRequest.Builder setEvaluation(Evaluation value)

Required. The Evaluation to create.

.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.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.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Evaluation.Builder
Returns
Type Description
CreateEvaluationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEvaluationRequest.Builder setParent(String value)

Required. The parent resource name, such as projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEvaluationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEvaluationRequest.Builder setParentBytes(ByteString value)

Required. The parent resource name, such as projects/{project}/locations/{location}.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateEvaluationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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