- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class CreateModelRequest.Builder extends GeneratedMessageV3.Builder<CreateModelRequest.Builder> implements CreateModelRequestOrBuilder
Request message for AutoMl.CreateModel.
Protobuf type google.cloud.automl.v1beta1.CreateModelRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateModelRequest.BuilderImplements
CreateModelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateModelRequest.Builder |
build()
public CreateModelRequest build()
Type | Description |
CreateModelRequest |
buildPartial()
public CreateModelRequest buildPartial()
Type | Description |
CreateModelRequest |
clear()
public CreateModelRequest.Builder clear()
Type | Description |
CreateModelRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateModelRequest.Builder |
clearModel()
public CreateModelRequest.Builder clearModel()
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateModelRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateModelRequest.Builder |
clearParent()
public CreateModelRequest.Builder clearParent()
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateModelRequest.Builder | This builder for chaining. |
clone()
public CreateModelRequest.Builder clone()
Type | Description |
CreateModelRequest.Builder |
getDefaultInstanceForType()
public CreateModelRequest getDefaultInstanceForType()
Type | Description |
CreateModelRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getModel()
public Model getModel()
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Model | The model. |
getModelBuilder()
public Model.Builder getModelBuilder()
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Model.Builder |
getModelOrBuilder()
public ModelOrBuilder getModelOrBuilder()
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ModelOrBuilder |
getParent()
public String getParent()
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
hasModel()
public boolean hasModel()
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the model field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateModelRequest other)
public CreateModelRequest.Builder mergeFrom(CreateModelRequest other)
Name | Description |
other | CreateModelRequest |
Type | Description |
CreateModelRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateModelRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateModelRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateModelRequest.Builder |
mergeModel(Model value)
public CreateModelRequest.Builder mergeModel(Model value)
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Model |
Type | Description |
CreateModelRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateModelRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateModelRequest.Builder |
setModel(Model value)
public CreateModelRequest.Builder setModel(Model value)
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Model |
Type | Description |
CreateModelRequest.Builder |
setModel(Model.Builder builderForValue)
public CreateModelRequest.Builder setModel(Model.Builder builderForValue)
Required. The model to create.
.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Model.Builder |
Type | Description |
CreateModelRequest.Builder |
setParent(String value)
public CreateModelRequest.Builder setParent(String value)
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateModelRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateModelRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateModelRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateModelRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateModelRequest.Builder |