public final class DeletionProtectionInfo extends GeneratedMessage implements DeletionProtectionInfoOrBuilderDeletion protection signal info for a database resource.
Protobuf type google.cloud.databasecenter.v1beta.DeletionProtectionInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DeletionProtectionInfoImplements
DeletionProtectionInfoOrBuilderStatic Fields
DELETION_PROTECTION_ENABLED_FIELD_NUMBER
public static final int DELETION_PROTECTION_ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUB_RESOURCE_FIELD_NUMBER
public static final int SUB_RESOURCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DeletionProtectionInfo getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DeletionProtectionInfo.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
newBuilder(DeletionProtectionInfo prototype)
public static DeletionProtectionInfo.Builder newBuilder(DeletionProtectionInfo prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DeletionProtectionInfo |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
parseDelimitedFrom(InputStream input)
public static DeletionProtectionInfo parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeletionProtectionInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DeletionProtectionInfo parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeletionProtectionInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DeletionProtectionInfo parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeletionProtectionInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DeletionProtectionInfo parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeletionProtectionInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DeletionProtectionInfo parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeletionProtectionInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DeletionProtectionInfo parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeletionProtectionInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DeletionProtectionInfo> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DeletionProtectionInfo> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DeletionProtectionInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
getDeletionProtectionEnabled()
public boolean getDeletionProtectionEnabled()Is deletion protection enabled.
bool deletion_protection_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The deletionProtectionEnabled. |
getParserForType()
public Parser<DeletionProtectionInfo> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DeletionProtectionInfo> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSubResource()
public SubResource getSubResource()Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SubResource |
The subResource. |
getSubResourceOrBuilder()
public SubResourceOrBuilder getSubResourceOrBuilder()Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SubResourceOrBuilder |
|
hasSubResource()
public boolean hasSubResource()Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the subResource field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DeletionProtectionInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DeletionProtectionInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
toBuilder()
public DeletionProtectionInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|