Class GetColumnSpecRequest.Builder (2.53.0)

public static final class GetColumnSpecRequest.Builder extends GeneratedMessageV3.Builder<GetColumnSpecRequest.Builder> implements GetColumnSpecRequestOrBuilder

Request message for AutoMl.GetColumnSpec.

Protobuf type google.cloud.automl.v1beta1.GetColumnSpecRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetColumnSpecRequest build()
Returns
Type Description
GetColumnSpecRequest

buildPartial()

public GetColumnSpecRequest buildPartial()
Returns
Type Description
GetColumnSpecRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldMask()

public GetColumnSpecRequest.Builder clearFieldMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
GetColumnSpecRequest.Builder

clearName()

public GetColumnSpecRequest.Builder clearName()

Required. The resource name of the column spec to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetColumnSpecRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetColumnSpecRequest getDefaultInstanceForType()
Returns
Type Description
GetColumnSpecRequest

getDescriptorForType()

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

getFieldMask()

public FieldMask getFieldMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
FieldMask

The fieldMask.

getFieldMaskBuilder()

public FieldMask.Builder getFieldMaskBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
Builder

getFieldMaskOrBuilder()

public FieldMaskOrBuilder getFieldMaskOrBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getName()

public String getName()

Required. The resource name of the column spec to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the column spec to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasFieldMask()

public boolean hasFieldMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
Type Description
boolean

Whether the fieldMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFieldMask(FieldMask value)

public GetColumnSpecRequest.Builder mergeFieldMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
GetColumnSpecRequest.Builder

mergeFrom(GetColumnSpecRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldMask(FieldMask value)

public GetColumnSpecRequest.Builder setFieldMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
GetColumnSpecRequest.Builder

setFieldMask(FieldMask.Builder builderForValue)

public GetColumnSpecRequest.Builder setFieldMask(FieldMask.Builder builderForValue)

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GetColumnSpecRequest.Builder

setName(String value)

public GetColumnSpecRequest.Builder setName(String value)

Required. The resource name of the column spec to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetColumnSpecRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetColumnSpecRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the column spec to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetColumnSpecRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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