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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StoredInfoType.Builder newBuilder()
newBuilder(StoredInfoType prototype)
public static StoredInfoType.Builder newBuilder(StoredInfoType prototype)
public static StoredInfoType parseDelimitedFrom(InputStream input)
public static StoredInfoType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StoredInfoType parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StoredInfoType parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(CodedInputStream input)
public static StoredInfoType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(InputStream input)
public static StoredInfoType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StoredInfoType parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StoredInfoType> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCurrentVersion()
public StoredInfoTypeVersion getCurrentVersion()
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()
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()
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
|
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> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StoredInfoType.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoredInfoType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StoredInfoType.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides