Class GetModelEvaluationRequest.Builder (2.43.0)

public static final class GetModelEvaluationRequest.Builder extends GeneratedMessageV3.Builder<GetModelEvaluationRequest.Builder> implements GetModelEvaluationRequestOrBuilder

Request message for AutoMl.GetModelEvaluation.

Protobuf type google.cloud.automl.v1beta1.GetModelEvaluationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetModelEvaluationRequest build()
Returns
Type Description
GetModelEvaluationRequest

buildPartial()

public GetModelEvaluationRequest buildPartial()
Returns
Type Description
GetModelEvaluationRequest

clear()

public GetModelEvaluationRequest.Builder clear()
Returns
Type Description
GetModelEvaluationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetModelEvaluationRequest.Builder clearName()

Required. Resource name for the model evaluation.

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

Returns
Type Description
GetModelEvaluationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetModelEvaluationRequest getDefaultInstanceForType()
Returns
Type Description
GetModelEvaluationRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name for the model evaluation.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name for the model evaluation.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetModelEvaluationRequest other)

public GetModelEvaluationRequest.Builder mergeFrom(GetModelEvaluationRequest other)
Parameter
Name Description
other GetModelEvaluationRequest
Returns
Type Description
GetModelEvaluationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetModelEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetModelEvaluationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetModelEvaluationRequest.Builder setName(String value)

Required. Resource name for the model evaluation.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetModelEvaluationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetModelEvaluationRequest.Builder setNameBytes(ByteString value)

Required. Resource name for the model evaluation.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetModelEvaluationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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