public static final class UpdateModelRequest.Builder extends GeneratedMessageV3.Builder<UpdateModelRequest.Builder> implements UpdateModelRequestOrBuilder
Request message for AutoMl.UpdateModel
Protobuf type google.cloud.automl.v1.UpdateModelRequest
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateModelRequest build()
buildPartial()
public UpdateModelRequest buildPartial()
clear()
public UpdateModelRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModel()
public UpdateModelRequest.Builder clearModel()
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateModelRequest.Builder clearUpdateMask()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateModelRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateModelRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getModel()
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Model | The model.
|
getModelBuilder()
public Model.Builder getModelBuilder()
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
getModelOrBuilder()
public ModelOrBuilder getModelOrBuilder()
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasModel()
public boolean hasModel()
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the model field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateModelRequest other)
public UpdateModelRequest.Builder mergeFrom(UpdateModelRequest other)
public UpdateModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateModelRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeModel(Model value)
public UpdateModelRequest.Builder mergeModel(Model value)
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Model
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateModelRequest.Builder mergeUpdateMask(FieldMask value)
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setModel(Model value)
public UpdateModelRequest.Builder setModel(Model value)
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Model
|
setModel(Model.Builder builderForValue)
public UpdateModelRequest.Builder setModel(Model.Builder builderForValue)
Required. The model which replaces the resource on the server.
.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateModelRequest.Builder setUpdateMask(FieldMask value)
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateModelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|