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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StoredInfoType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StoredInfoType build()
buildPartial()
public StoredInfoType buildPartial()
clear()
public StoredInfoType.Builder clear()
Overrides
clearCurrentVersion()
public StoredInfoType.Builder clearCurrentVersion()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
clearField(Descriptors.FieldDescriptor field)
public StoredInfoType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public StoredInfoType.Builder clearName()
Resource name.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public StoredInfoType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public StoredInfoType.Builder clone()
Overrides
getCurrentVersion()
public StoredInfoTypeVersion getCurrentVersion()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
getCurrentVersionBuilder()
public StoredInfoTypeVersion.Builder getCurrentVersionBuilder()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
getCurrentVersionOrBuilder()
public StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder()
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
getDefaultInstanceForType()
public StoredInfoType getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Resource name.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Resource name.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(StoredInfoType other)
public StoredInfoType.Builder mergeFrom(StoredInfoType other)
public StoredInfoType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StoredInfoType.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StoredInfoType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setCurrentVersion(StoredInfoTypeVersion value)
public StoredInfoType.Builder setCurrentVersion(StoredInfoTypeVersion value)
Current version of the stored info type.
.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public StoredInfoType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public StoredInfoType.Builder setName(String value)
Resource name.
string name = 1;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StoredInfoType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StoredInfoType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides