Class VersionDescription.Builder (3.52.0)

public static final class VersionDescription.Builder extends GeneratedMessageV3.Builder<VersionDescription.Builder> implements VersionDescriptionOrBuilder

Details about each available version for an infotype.

Protobuf type google.privacy.dlp.v2.VersionDescription

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VersionDescription build()
Returns
Type Description
VersionDescription

buildPartial()

public VersionDescription buildPartial()
Returns
Type Description
VersionDescription

clear()

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

clearDescription()

public VersionDescription.Builder clearDescription()

Description of the version.

string description = 2;

Returns
Type Description
VersionDescription.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public VersionDescription.Builder clearVersion()

Name of the version

string version = 1;

Returns
Type Description
VersionDescription.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VersionDescription getDefaultInstanceForType()
Returns
Type Description
VersionDescription

getDescription()

public String getDescription()

Description of the version.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the version.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getVersion()

public String getVersion()

Name of the version

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Name of the version

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VersionDescription other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDescription(String value)

public VersionDescription.Builder setDescription(String value)

Description of the version.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
VersionDescription.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public VersionDescription.Builder setDescriptionBytes(ByteString value)

Description of the version.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
VersionDescription.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public VersionDescription.Builder setVersion(String value)

Name of the version

string version = 1;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
VersionDescription.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public VersionDescription.Builder setVersionBytes(ByteString value)

Name of the version

string version = 1;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
VersionDescription.Builder

This builder for chaining.