Class KindExpression.Builder (3.26.0)

public static final class KindExpression.Builder extends GeneratedMessageV3.Builder<KindExpression.Builder> implements KindExpressionOrBuilder

A representation of a Datastore kind.

Protobuf type google.privacy.dlp.v2.KindExpression

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KindExpression build()
Returns
TypeDescription
KindExpression

buildPartial()

public KindExpression buildPartial()
Returns
TypeDescription
KindExpression

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public KindExpression.Builder clearName()

The name of the kind.

string name = 1;

Returns
TypeDescription
KindExpression.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public KindExpression getDefaultInstanceForType()
Returns
TypeDescription
KindExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the kind.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the kind.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KindExpression other)

public KindExpression.Builder mergeFrom(KindExpression other)
Parameter
NameDescription
otherKindExpression
Returns
TypeDescription
KindExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public KindExpression.Builder setName(String value)

The name of the kind.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
KindExpression.Builder

This builder for chaining.

setNameBytes(ByteString value)

public KindExpression.Builder setNameBytes(ByteString value)

The name of the kind.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
KindExpression.Builder

This builder for chaining.

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

public KindExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
KindExpression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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