Class TuneModelResponse.Builder (2.55.0)

public static final class TuneModelResponse.Builder extends GeneratedMessageV3.Builder<TuneModelResponse.Builder> implements TuneModelResponseOrBuilder

Response associated with a tune operation.

Protobuf type google.cloud.retail.v2alpha.TuneModelResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TuneModelResponse build()
Returns
Type Description
TuneModelResponse

buildPartial()

public TuneModelResponse buildPartial()
Returns
Type Description
TuneModelResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TuneModelResponse getDefaultInstanceForType()
Returns
Type Description
TuneModelResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TuneModelResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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