public static final class DeletionProtectionInfo.Builder extends GeneratedMessage.Builder<DeletionProtectionInfo.Builder> implements DeletionProtectionInfoOrBuilderDeletion protection signal info for a database resource.
Protobuf type google.cloud.databasecenter.v1beta.DeletionProtectionInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeletionProtectionInfo.BuilderImplements
DeletionProtectionInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeletionProtectionInfo build()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
buildPartial()
public DeletionProtectionInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo |
|
clear()
public DeletionProtectionInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
clearDeletionProtectionEnabled()
public DeletionProtectionInfo.Builder clearDeletionProtectionEnabled()Is deletion protection enabled.
bool deletion_protection_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
This builder for chaining. |
clearSubResource()
public DeletionProtectionInfo.Builder clearSubResource()Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getSubResourceBuilder()
public SubResource.Builder getSubResourceBuilder()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.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeletionProtectionInfo other)
public DeletionProtectionInfo.Builder mergeFrom(DeletionProtectionInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
DeletionProtectionInfo |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeletionProtectionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeletionProtectionInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
mergeSubResource(SubResource value)
public DeletionProtectionInfo.Builder mergeSubResource(SubResource value)Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SubResource |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
setDeletionProtectionEnabled(boolean value)
public DeletionProtectionInfo.Builder setDeletionProtectionEnabled(boolean value)Is deletion protection enabled.
bool deletion_protection_enabled = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe deletionProtectionEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
This builder for chaining. |
setSubResource(SubResource value)
public DeletionProtectionInfo.Builder setSubResource(SubResource value)Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SubResource |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|
setSubResource(SubResource.Builder builderForValue)
public DeletionProtectionInfo.Builder setSubResource(SubResource.Builder builderForValue)Optional. Sub resource details associated with the signal.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SubResource.Builder |
| Returns | |
|---|---|
| Type | Description |
DeletionProtectionInfo.Builder |
|