Class FieldId.Builder (3.47.0)

public static final class FieldId.Builder extends GeneratedMessageV3.Builder<FieldId.Builder> implements FieldIdOrBuilder

General identifier of a data field in a storage service.

Protobuf type google.privacy.dlp.v2.FieldId

Implements

FieldIdOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FieldId build()
Returns
Type Description
FieldId

buildPartial()

public FieldId buildPartial()
Returns
Type Description
FieldId

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public FieldId.Builder clearName()

Name describing the field.

string name = 1;

Returns
Type Description
FieldId.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FieldId getDefaultInstanceForType()
Returns
Type Description
FieldId

getDescriptorForType()

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

getName()

public String getName()

Name describing the field.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name describing the field.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FieldId other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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