Class StoredInfoType (3.56.0)

public final class StoredInfoType extends GeneratedMessageV3 implements StoredInfoTypeOrBuilder

StoredInfoType resource message that contains information about the current version and any pending updates.

Protobuf type google.privacy.dlp.v2.StoredInfoType

Static Fields

CURRENT_VERSION_FIELD_NUMBER

public static final int CURRENT_VERSION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PENDING_VERSIONS_FIELD_NUMBER

public static final int PENDING_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoredInfoType getDefaultInstance()
Returns
Type Description
StoredInfoType

getDescriptor()

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

newBuilder()

public static StoredInfoType.Builder newBuilder()
Returns
Type Description
StoredInfoType.Builder

newBuilder(StoredInfoType prototype)

public static StoredInfoType.Builder newBuilder(StoredInfoType prototype)
Parameter
Name Description
prototype StoredInfoType
Returns
Type Description
StoredInfoType.Builder

parseDelimitedFrom(InputStream input)

public static StoredInfoType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredInfoType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoType
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StoredInfoType parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StoredInfoType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredInfoType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StoredInfoType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredInfoType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StoredInfoType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoType
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StoredInfoType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredInfoType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoType
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StoredInfoType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StoredInfoType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoType
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StoredInfoType> parser()
Returns
Type Description
Parser<StoredInfoType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCurrentVersion()

public StoredInfoTypeVersion getCurrentVersion()

Current version of the stored info type.

.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;

Returns
Type Description
StoredInfoTypeVersion

The currentVersion.

getCurrentVersionOrBuilder()

public StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder()

Current version of the stored info type.

.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;

Returns
Type Description
StoredInfoTypeVersionOrBuilder

getDefaultInstanceForType()

public StoredInfoType getDefaultInstanceForType()
Returns
Type Description
StoredInfoType

getName()

public String 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.

getParserForType()

public Parser<StoredInfoType> getParserForType()
Returns
Type Description
Parser<StoredInfoType>
Overrides

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
Returns
Type Description
StoredInfoTypeVersion

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;

Returns
Type Description
List<StoredInfoTypeVersion>

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
Returns
Type Description
StoredInfoTypeVersionOrBuilder

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StoredInfoType.Builder newBuilderForType()
Returns
Type Description
StoredInfoType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredInfoType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StoredInfoType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StoredInfoType.Builder toBuilder()
Returns
Type Description
StoredInfoType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException