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
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PENDING_VERSIONS_FIELD_NUMBER
public static final int PENDING_VERSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StoredInfoType getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StoredInfoType.Builder newBuilder()
Returns
newBuilder(StoredInfoType prototype)
public static StoredInfoType.Builder newBuilder(StoredInfoType prototype)
Parameter
Returns
public static StoredInfoType parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StoredInfoType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StoredInfoType parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StoredInfoType parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StoredInfoType parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StoredInfoType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StoredInfoType parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StoredInfoType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StoredInfoType parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StoredInfoType> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCurrentVersion()
public StoredInfoTypeVersion getCurrentVersion()
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
getName()
Resource name.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Resource name.
string name = 1;
Returns
getParserForType()
public Parser<StoredInfoType> getParserForType()
Returns
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
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> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StoredInfoType.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoredInfoType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StoredInfoType.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions