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