Class UpdateTableSpecRequest.Builder (2.51.0)

public static final class UpdateTableSpecRequest.Builder extends GeneratedMessageV3.Builder<UpdateTableSpecRequest.Builder> implements UpdateTableSpecRequestOrBuilder

Request message for AutoMl.UpdateTableSpec

Protobuf type google.cloud.automl.v1beta1.UpdateTableSpecRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTableSpecRequest build()
Returns
Type Description
UpdateTableSpecRequest

buildPartial()

public UpdateTableSpecRequest buildPartial()
Returns
Type Description
UpdateTableSpecRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableSpec()

public UpdateTableSpecRequest.Builder clearTableSpec()

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateTableSpecRequest.Builder

clearUpdateMask()

public UpdateTableSpecRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateTableSpecRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateTableSpecRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTableSpecRequest

getDescriptorForType()

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

getTableSpec()

public TableSpec getTableSpec()

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TableSpec

The tableSpec.

getTableSpecBuilder()

public TableSpec.Builder getTableSpecBuilder()

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TableSpec.Builder

getTableSpecOrBuilder()

public TableSpecOrBuilder getTableSpecOrBuilder()

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TableSpecOrBuilder

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

hasTableSpec()

public boolean hasTableSpec()

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tableSpec 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

mergeFrom(UpdateTableSpecRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTableSpec(TableSpec value)

public UpdateTableSpecRequest.Builder mergeTableSpec(TableSpec value)

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TableSpec
Returns
Type Description
UpdateTableSpecRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateTableSpecRequest.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
UpdateTableSpecRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTableSpec(TableSpec value)

public UpdateTableSpecRequest.Builder setTableSpec(TableSpec value)

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TableSpec
Returns
Type Description
UpdateTableSpecRequest.Builder

setTableSpec(TableSpec.Builder builderForValue)

public UpdateTableSpecRequest.Builder setTableSpec(TableSpec.Builder builderForValue)

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

.google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TableSpec.Builder
Returns
Type Description
UpdateTableSpecRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateTableSpecRequest.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
UpdateTableSpecRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTableSpecRequest.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
UpdateTableSpecRequest.Builder