public static final class VersionDescription.Builder extends GeneratedMessage.Builder<VersionDescription.Builder> implements VersionDescriptionOrBuilderDetails about each available version for an infotype.
Protobuf type google.privacy.dlp.v2.VersionDescription
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VersionDescription.BuilderImplements
VersionDescriptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearDescription()
public VersionDescription.Builder clearDescription()Description of the version.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
VersionDescription.Builder |
This builder for chaining. |
clearVersion()
public VersionDescription.Builder clearVersion()Name of the version
string version = 1;
| Returns | |
|---|---|
| Type | Description |
VersionDescription.Builder |
This builder for chaining. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VersionDescription.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VersionDescription.Builder |
|
setDescription(String value)
public VersionDescription.Builder setDescription(String value)Description of the version.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
VersionDescription.Builder |
This builder for chaining. |
setVersion(String value)
public VersionDescription.Builder setVersion(String value)Name of the version
string version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
VersionDescription.Builder |
This builder for chaining. |