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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 UpdateDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDatasetRequest build()
buildPartial()
public UpdateDatasetRequest buildPartial()
clear()
public UpdateDatasetRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateDatasetRequest.Builder clone()
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 |
---|
Type | Description |
Dataset | The dataset.
|
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];
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];
getDefaultInstanceForType()
public UpdateDatasetRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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 |
---|
Name | Description |
value | Dataset
|
mergeFrom(UpdateDatasetRequest other)
public UpdateDatasetRequest.Builder mergeFrom(UpdateDatasetRequest other)
public UpdateDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDatasetRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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 |
---|
Name | Description |
value | Dataset
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|