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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateEvaluationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateEvaluationRequest build()
buildPartial()
public CreateEvaluationRequest buildPartial()
clear()
public CreateEvaluationRequest.Builder clear()
Overrides
clearEvaluation()
public CreateEvaluationRequest.Builder clearEvaluation()
Required. The Evaluation
to create.
.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateEvaluationRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateEvaluationRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getEvaluationOrBuilder()
public EvaluationOrBuilder getEvaluationOrBuilder()
Required. The Evaluation
to create.
.google.cloud.discoveryengine.v1beta.Evaluation evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateEvaluationRequest other)
public CreateEvaluationRequest.Builder mergeFrom(CreateEvaluationRequest other)
public CreateEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateEvaluationRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEvaluationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateEvaluationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEvaluationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides