Class UpdateColumnSpecRequest.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateColumnSpecRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides

build()

public UpdateColumnSpecRequest build()
Returns
TypeDescription
UpdateColumnSpecRequest

buildPartial()

public UpdateColumnSpecRequest buildPartial()
Returns
TypeDescription
UpdateColumnSpecRequest

clear()

public UpdateColumnSpecRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateColumnSpecRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateColumnSpecRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateColumnSpecRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides

clearUpdateMask()

public UpdateColumnSpecRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateColumnSpecRequest.Builder

clone()

public UpdateColumnSpecRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ColumnSpecOrBuilder

getDefaultInstanceForType()

public UpdateColumnSpecRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateColumnSpecRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueColumnSpec
Returns
TypeDescription
UpdateColumnSpecRequest.Builder

mergeFrom(UpdateColumnSpecRequest other)

public UpdateColumnSpecRequest.Builder mergeFrom(UpdateColumnSpecRequest other)
Parameter
NameDescription
otherUpdateColumnSpecRequest
Returns
TypeDescription
UpdateColumnSpecRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateColumnSpecRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateColumnSpecRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateColumnSpecRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueColumnSpec
Returns
TypeDescription
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
NameDescription
builderForValueColumnSpec.Builder
Returns
TypeDescription
UpdateColumnSpecRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateColumnSpecRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides

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

public UpdateColumnSpecRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateColumnSpecRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateColumnSpecRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateColumnSpecRequest.Builder