public static final class StoredInfoType.Builder extends GeneratedMessageV3.Builder<StoredInfoType.Builder> implements StoredInfoTypeOrBuilder
StoredInfoType resource message that contains information about the current
version and any pending updates.
Protobuf type google.privacy.dlp.v2.StoredInfoType
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPendingVersions(Iterable<? extends StoredInfoTypeVersion> values)
public StoredInfoType.Builder addAllPendingVersions(Iterable<? extends StoredInfoTypeVersion> values)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.StoredInfoTypeVersion>
|
Returns
addPendingVersions(StoredInfoTypeVersion value)
public StoredInfoType.Builder addPendingVersions(StoredInfoTypeVersion value)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
addPendingVersions(StoredInfoTypeVersion.Builder builderForValue)
public StoredInfoType.Builder addPendingVersions(StoredInfoTypeVersion.Builder builderForValue)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
addPendingVersions(int index, StoredInfoTypeVersion value)
public StoredInfoType.Builder addPendingVersions(int index, StoredInfoTypeVersion value)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameters
Returns
addPendingVersions(int index, StoredInfoTypeVersion.Builder builderForValue)
public StoredInfoType.Builder addPendingVersions(int index, StoredInfoTypeVersion.Builder builderForValue)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameters
Returns
addPendingVersionsBuilder()
public StoredInfoTypeVersion.Builder addPendingVersionsBuilder()
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Returns
addPendingVersionsBuilder(int index)
public StoredInfoTypeVersion.Builder addPendingVersionsBuilder(int index)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StoredInfoType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StoredInfoType build()
Returns
buildPartial()
public StoredInfoType buildPartial()
Returns
clear()
public StoredInfoType.Builder clear()
Returns
Overrides
clearCurrentVersion()
public StoredInfoType.Builder clearCurrentVersion()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public StoredInfoType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public StoredInfoType.Builder clearName()
Resource name.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StoredInfoType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPendingVersions()
public StoredInfoType.Builder clearPendingVersions()
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Returns
clone()
public StoredInfoType.Builder clone()
Returns
Overrides
getCurrentVersion()
public StoredInfoTypeVersion getCurrentVersion()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Returns
getCurrentVersionBuilder()
public StoredInfoTypeVersion.Builder getCurrentVersionBuilder()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Returns
getCurrentVersionOrBuilder()
public StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Returns
getDefaultInstanceForType()
public StoredInfoType getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Resource name.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Resource name.
string name = 1;
Returns
getPendingVersions(int index)
public StoredInfoTypeVersion getPendingVersions(int index)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
getPendingVersionsBuilder(int index)
public StoredInfoTypeVersion.Builder getPendingVersionsBuilder(int index)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
getPendingVersionsBuilderList()
public List<StoredInfoTypeVersion.Builder> getPendingVersionsBuilderList()
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Returns
getPendingVersionsCount()
public int getPendingVersionsCount()
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Returns
getPendingVersionsList()
public List<StoredInfoTypeVersion> getPendingVersionsList()
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Returns
getPendingVersionsOrBuilder(int index)
public StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(int index)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
getPendingVersionsOrBuilderList()
public List<? extends StoredInfoTypeVersionOrBuilder> getPendingVersionsOrBuilderList()
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> | |
hasCurrentVersion()
public boolean hasCurrentVersion()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Returns
Type | Description |
boolean | Whether the currentVersion field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCurrentVersion(StoredInfoTypeVersion value)
public StoredInfoType.Builder mergeCurrentVersion(StoredInfoTypeVersion value)
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Parameter
Returns
mergeFrom(StoredInfoType other)
public StoredInfoType.Builder mergeFrom(StoredInfoType other)
Parameter
Returns
public StoredInfoType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StoredInfoType.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StoredInfoType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePendingVersions(int index)
public StoredInfoType.Builder removePendingVersions(int index)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameter
Returns
setCurrentVersion(StoredInfoTypeVersion value)
public StoredInfoType.Builder setCurrentVersion(StoredInfoTypeVersion value)
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Parameter
Returns
setCurrentVersion(StoredInfoTypeVersion.Builder builderForValue)
public StoredInfoType.Builder setCurrentVersion(StoredInfoTypeVersion.Builder builderForValue)
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StoredInfoType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public StoredInfoType.Builder setName(String value)
Resource name.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public StoredInfoType.Builder setNameBytes(ByteString value)
Resource name.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setPendingVersions(int index, StoredInfoTypeVersion value)
public StoredInfoType.Builder setPendingVersions(int index, StoredInfoTypeVersion value)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameters
Returns
setPendingVersions(int index, StoredInfoTypeVersion.Builder builderForValue)
public StoredInfoType.Builder setPendingVersions(int index, StoredInfoTypeVersion.Builder builderForValue)
Pending versions of the stored info type. Empty if no versions are
pending.
repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StoredInfoType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StoredInfoType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides