Class StoredInfoType (3.10.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PENDING_VERSIONS_FIELD_NUMBER

public static final int PENDING_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StoredInfoType getDefaultInstance()
Returns
TypeDescription
StoredInfoType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StoredInfoType.Builder newBuilder()
Returns
TypeDescription
StoredInfoType.Builder

newBuilder(StoredInfoType prototype)

public static StoredInfoType.Builder newBuilder(StoredInfoType prototype)
Parameter
NameDescription
prototypeStoredInfoType
Returns
TypeDescription
StoredInfoType.Builder

parseDelimitedFrom(InputStream input)

public static StoredInfoType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StoredInfoType parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredInfoType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredInfoType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StoredInfoType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StoredInfoType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoType
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StoredInfoType> parser()
Returns
TypeDescription
Parser<StoredInfoType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCurrentVersion()

public StoredInfoTypeVersion getCurrentVersion()

Current version of the stored info type.

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

Returns
TypeDescription
StoredInfoTypeVersion

The currentVersion.

getCurrentVersionOrBuilder()

public StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder()

Current version of the stored info type.

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

Returns
TypeDescription
StoredInfoTypeVersionOrBuilder

getDefaultInstanceForType()

public StoredInfoType getDefaultInstanceForType()
Returns
TypeDescription
StoredInfoType

getName()

public String getName()

Resource name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<StoredInfoType> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCurrentVersion()

public boolean hasCurrentVersion()

Current version of the stored info type.

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

Returns
TypeDescription
boolean

Whether the currentVersion field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StoredInfoType.Builder newBuilderForType()
Returns
TypeDescription
StoredInfoType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredInfoType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StoredInfoType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StoredInfoType.Builder toBuilder()
Returns
TypeDescription
StoredInfoType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException