Send feedback
Class UpdateDatasetRequest.Builder (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.0 keyboard_arrow_down
public static final class UpdateDatasetRequest . Builder extends GeneratedMessageV3 . Builder<UpdateDatasetRequest . Builder > implements UpdateDatasetRequestOrBuilder
Request message for AutoMl.UpdateDataset
Protobuf type google.cloud.automl.v1.UpdateDatasetRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatasetRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateDatasetRequest build ()
Returns
buildPartial()
public UpdateDatasetRequest buildPartial ()
Returns
clear()
public UpdateDatasetRequest . Builder clear ()
Returns
Overrides
clearDataset()
public UpdateDatasetRequest . Builder clearDataset ()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateDatasetRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDatasetRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateDatasetRequest . Builder clearUpdateMask ()
Required. The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateDatasetRequest . Builder clone ()
Returns
Overrides
getDataset()
public Dataset getDataset ()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetBuilder()
public Dataset . Builder getDatasetBuilder ()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetOrBuilder()
public DatasetOrBuilder getDatasetOrBuilder ()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateDatasetRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
hasDataset()
public boolean hasDataset ()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the dataset 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
mergeDataset(Dataset value)
public UpdateDatasetRequest . Builder mergeDataset ( Dataset value )
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateDatasetRequest other)
public UpdateDatasetRequest . Builder mergeFrom ( UpdateDatasetRequest other )
Parameter
Returns
public UpdateDatasetRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateDatasetRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatasetRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDatasetRequest . 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
setDataset(Dataset value)
public UpdateDatasetRequest . Builder setDataset ( Dataset value )
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDataset(Dataset.Builder builderForValue)
public UpdateDatasetRequest . Builder setDataset ( Dataset . Builder builderForValue )
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatasetRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDatasetRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatasetRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateDatasetRequest . 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 UpdateDatasetRequest . 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."],[],[]]