public static final class InfoTypeStats.Builder extends GeneratedMessage.Builder<InfoTypeStats.Builder> implements InfoTypeStatsOrBuilderStatistics regarding a specific InfoType.
Protobuf type google.privacy.dlp.v2.InfoTypeStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InfoTypeStats.BuilderImplements
InfoTypeStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InfoTypeStats build()| Returns | |
|---|---|
| Type | Description |
InfoTypeStats |
|
buildPartial()
public InfoTypeStats buildPartial()| Returns | |
|---|---|
| Type | Description |
InfoTypeStats |
|
clear()
public InfoTypeStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
clearCount()
public InfoTypeStats.Builder clearCount()Number of findings for this infoType.
int64 count = 2;
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
This builder for chaining. |
clearInfoType()
public InfoTypeStats.Builder clearInfoType()The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
getCount()
public long getCount()Number of findings for this infoType.
int64 count = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public InfoTypeStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InfoTypeStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInfoType()
public InfoType getInfoType()The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoType |
The infoType. |
getInfoTypeBuilder()
public InfoType.Builder getInfoTypeBuilder()The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoType.Builder |
|
getInfoTypeOrBuilder()
public InfoTypeOrBuilder getInfoTypeOrBuilder()The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
InfoTypeOrBuilder |
|
hasInfoType()
public boolean hasInfoType()The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the infoType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InfoTypeStats other)
public InfoTypeStats.Builder mergeFrom(InfoTypeStats other)| Parameter | |
|---|---|
| Name | Description |
other |
InfoTypeStats |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InfoTypeStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InfoTypeStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
mergeInfoType(InfoType value)
public InfoTypeStats.Builder mergeInfoType(InfoType value)The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoType |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
setCount(long value)
public InfoTypeStats.Builder setCount(long value)Number of findings for this infoType.
int64 count = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
This builder for chaining. |
setInfoType(InfoType value)
public InfoTypeStats.Builder setInfoType(InfoType value)The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
InfoType |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|
setInfoType(InfoType.Builder builderForValue)
public InfoTypeStats.Builder setInfoType(InfoType.Builder builderForValue)The type of finding this stat is for.
.google.privacy.dlp.v2.InfoType info_type = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InfoType.Builder |
| Returns | |
|---|---|
| Type | Description |
InfoTypeStats.Builder |
|