public static final class TuneModelMetadata.Builder extends GeneratedMessageV3.Builder<TuneModelMetadata.Builder> implements TuneModelMetadataOrBuilder
Metadata associated with a tune operation.
Protobuf type google.cloud.retail.v2alpha.TuneModelMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TuneModelMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TuneModelMetadata build()
Returns
public TuneModelMetadata buildPartial()
Returns
public TuneModelMetadata.Builder clear()
Returns
Overrides
public TuneModelMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TuneModelMetadata.Builder clearModel()
The resource name of the model that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
string model = 1;
Returns
public TuneModelMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TuneModelMetadata.Builder clone()
Returns
Overrides
public TuneModelMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
The resource name of the model that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
string model = 1;
Returns
Type | Description |
String | The model.
|
public ByteString getModelBytes()
The resource name of the model that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
string model = 1;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TuneModelMetadata.Builder mergeFrom(TuneModelMetadata other)
Parameter
Returns
public TuneModelMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TuneModelMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TuneModelMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TuneModelMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TuneModelMetadata.Builder setModel(String value)
The resource name of the model that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
string model = 1;
Parameter
Name | Description |
value | String
The model to set.
|
Returns
public TuneModelMetadata.Builder setModelBytes(ByteString value)
The resource name of the model that this tune applies to.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
string model = 1;
Parameter
Name | Description |
value | ByteString
The bytes for model to set.
|
Returns
public TuneModelMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TuneModelMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides