public static final class TuneModelMetadata.Builder extends GeneratedMessageV3.Builder<TuneModelMetadata.Builder> implements TuneModelMetadataOrBuilder
Metadata associated with a tune operation.
Protobuf type google.cloud.retail.v2.TuneModelMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public TuneModelMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TuneModelMetadata build()
public TuneModelMetadata buildPartial()
public TuneModelMetadata.Builder clear()
Overrides
public TuneModelMetadata.Builder clearField(Descriptors.FieldDescriptor field)
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;
public TuneModelMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TuneModelMetadata.Builder clone()
Overrides
public TuneModelMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for model.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TuneModelMetadata.Builder mergeFrom(TuneModelMetadata other)
public TuneModelMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TuneModelMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final TuneModelMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TuneModelMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public TuneModelMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TuneModelMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides