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