Class TuneModelResponse.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TuneModelResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

build()

public TuneModelResponse build()
Returns
TypeDescription
TuneModelResponse

buildPartial()

public TuneModelResponse buildPartial()
Returns
TypeDescription
TuneModelResponse

clear()

public TuneModelResponse.Builder clear()
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TuneModelResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TuneModelResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

clone()

public TuneModelResponse.Builder clone()
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

getDefaultInstanceForType()

public TuneModelResponse getDefaultInstanceForType()
Returns
TypeDescription
TuneModelResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TuneModelResponse other)

public TuneModelResponse.Builder mergeFrom(TuneModelResponse other)
Parameter
NameDescription
otherTuneModelResponse
Returns
TypeDescription
TuneModelResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TuneModelResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TuneModelResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TuneModelResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TuneModelResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TuneModelResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

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

public TuneModelResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TuneModelResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TuneModelResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TuneModelResponse.Builder
Overrides