Class UpdateColumnSpecRequest.Builder (2.45.0)

public static final class UpdateColumnSpecRequest.Builder extends GeneratedMessageV3.Builder<UpdateColumnSpecRequest.Builder> implements UpdateColumnSpecRequestOrBuilder

Request message for AutoMl.UpdateColumnSpec

Protobuf type google.cloud.automl.v1beta1.UpdateColumnSpecRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateColumnSpecRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

build()

public UpdateColumnSpecRequest build()
Returns
Type Description
UpdateColumnSpecRequest

buildPartial()

public UpdateColumnSpecRequest buildPartial()
Returns
Type Description
UpdateColumnSpecRequest

clear()

public UpdateColumnSpecRequest.Builder clear()
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

clearColumnSpec()

public UpdateColumnSpecRequest.Builder clearColumnSpec()

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateColumnSpecRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateColumnSpecRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateColumnSpecRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

clearUpdateMask()

public UpdateColumnSpecRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateColumnSpecRequest.Builder

clone()

public UpdateColumnSpecRequest.Builder clone()
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

getColumnSpec()

public ColumnSpec getColumnSpec()

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ColumnSpec

The columnSpec.

getColumnSpecBuilder()

public ColumnSpec.Builder getColumnSpecBuilder()

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ColumnSpec.Builder

getColumnSpecOrBuilder()

public ColumnSpecOrBuilder getColumnSpecOrBuilder()

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ColumnSpecOrBuilder

getDefaultInstanceForType()

public UpdateColumnSpecRequest getDefaultInstanceForType()
Returns
Type Description
UpdateColumnSpecRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasColumnSpec()

public boolean hasColumnSpec()

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the columnSpec field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeColumnSpec(ColumnSpec value)

public UpdateColumnSpecRequest.Builder mergeColumnSpec(ColumnSpec value)

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ColumnSpec
Returns
Type Description
UpdateColumnSpecRequest.Builder

mergeFrom(UpdateColumnSpecRequest other)

public UpdateColumnSpecRequest.Builder mergeFrom(UpdateColumnSpecRequest other)
Parameter
Name Description
other UpdateColumnSpecRequest
Returns
Type Description
UpdateColumnSpecRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateColumnSpecRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateColumnSpecRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateColumnSpecRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateColumnSpecRequest.Builder mergeUpdateMask(FieldMask value)

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateColumnSpecRequest.Builder

setColumnSpec(ColumnSpec value)

public UpdateColumnSpecRequest.Builder setColumnSpec(ColumnSpec value)

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ColumnSpec
Returns
Type Description
UpdateColumnSpecRequest.Builder

setColumnSpec(ColumnSpec.Builder builderForValue)

public UpdateColumnSpecRequest.Builder setColumnSpec(ColumnSpec.Builder builderForValue)

Required. The column spec which replaces the resource on the server.

.google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ColumnSpec.Builder
Returns
Type Description
UpdateColumnSpecRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateColumnSpecRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateColumnSpecRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateColumnSpecRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateColumnSpecRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateColumnSpecRequest.Builder setUpdateMask(FieldMask value)

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateColumnSpecRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateColumnSpecRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateColumnSpecRequest.Builder