Class GetColumnSpecRequest.Builder (2.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetColumnSpecRequest build()
Returns
TypeDescription
GetColumnSpecRequest

buildPartial()

public GetColumnSpecRequest buildPartial()
Returns
TypeDescription
GetColumnSpecRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldMask()

public GetColumnSpecRequest.Builder clearFieldMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
TypeDescription
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
TypeDescription
GetColumnSpecRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetColumnSpecRequest getDefaultInstanceForType()
Returns
TypeDescription
GetColumnSpecRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFieldMask()

public FieldMask getFieldMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
TypeDescription
FieldMask

The fieldMask.

getFieldMaskBuilder()

public FieldMask.Builder getFieldMaskBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
TypeDescription
Builder

getFieldMaskOrBuilder()

public FieldMaskOrBuilder getFieldMaskOrBuilder()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

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

The bytes for name.

hasFieldMask()

public boolean hasFieldMask()

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Returns
TypeDescription
boolean

Whether the fieldMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFieldMask(FieldMask value)

public GetColumnSpecRequest.Builder mergeFieldMask(FieldMask value)

Mask specifying which fields to read.

.google.protobuf.FieldMask field_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
GetColumnSpecRequest.Builder

mergeFrom(GetColumnSpecRequest other)

public GetColumnSpecRequest.Builder mergeFrom(GetColumnSpecRequest other)
Parameter
NameDescription
otherGetColumnSpecRequest
Returns
TypeDescription
GetColumnSpecRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetColumnSpecRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetColumnSpecRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetColumnSpecRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetColumnSpecRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetColumnSpecRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetColumnSpecRequest.Builder
Overrides