Send feedback
Class UpdateModelRequest.Builder (2.3.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.6 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateModelRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateModelRequest build ()
Returns
buildPartial()
public UpdateModelRequest buildPartial ()
Returns
clear()
public UpdateModelRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateModelRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateModelRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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];
Returns
clone()
public UpdateModelRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateModelRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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];
Returns
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];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(UpdateModelRequest other)
public UpdateModelRequest . Builder mergeFrom ( UpdateModelRequest other )
Parameter
Returns
public UpdateModelRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateModelRequest . Builder mergeFrom ( Message other )
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateModelRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateModelRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Returns
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];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateModelRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateModelRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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];
Parameter
Returns
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
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]