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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTableSpecRequest build()
Returns
TypeDescription
UpdateTableSpecRequest

buildPartial()

public UpdateTableSpecRequest buildPartial()
Returns
TypeDescription
UpdateTableSpecRequest

clear()

public UpdateTableSpecRequest.Builder clear()
Returns
TypeDescription
UpdateTableSpecRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTableSpecRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateTableSpecRequest.Builder

clearUpdateMask()

public UpdateTableSpecRequest.Builder clearUpdateMask()

The update mask applies to the resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateTableSpecRequest.Builder

clone()

public UpdateTableSpecRequest.Builder clone()
Returns
TypeDescription
UpdateTableSpecRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateTableSpecRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTableSpecRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TableSpecOrBuilder

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

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

mergeFrom(UpdateTableSpecRequest other)

public UpdateTableSpecRequest.Builder mergeFrom(UpdateTableSpecRequest other)
Parameter
NameDescription
otherUpdateTableSpecRequest
Returns
TypeDescription
UpdateTableSpecRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateTableSpecRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTableSpec
Returns
TypeDescription
UpdateTableSpecRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateTableSpecRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTableSpec
Returns
TypeDescription
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
NameDescription
builderForValueTableSpec.Builder
Returns
TypeDescription
UpdateTableSpecRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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