Class DeletePrincipalAccessBoundaryPolicyRequest.Builder (1.61.0)

public static final class DeletePrincipalAccessBoundaryPolicyRequest.Builder extends GeneratedMessage.Builder<DeletePrincipalAccessBoundaryPolicyRequest.Builder> implements DeletePrincipalAccessBoundaryPolicyRequestOrBuilder

Request message for DeletePrincipalAccessBoundaryPolicy method.

Protobuf type google.iam.v3beta.DeletePrincipalAccessBoundaryPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeletePrincipalAccessBoundaryPolicyRequest build()
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest

buildPartial()

public DeletePrincipalAccessBoundaryPolicyRequest buildPartial()
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest

clear()

public DeletePrincipalAccessBoundaryPolicyRequest.Builder clear()
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder
Overrides

clearEtag()

public DeletePrincipalAccessBoundaryPolicyRequest.Builder clearEtag()

Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

clearForce()

public DeletePrincipalAccessBoundaryPolicyRequest.Builder clearForce()

Optional. If set to true, the request will force the deletion of the policy even if the policy is referenced in policy bindings.

bool force = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

clearName()

public DeletePrincipalAccessBoundaryPolicyRequest.Builder clearName()

Required. The name of the principal access boundary policy to delete.

Format: organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

clearValidateOnly()

public DeletePrincipalAccessBoundaryPolicyRequest.Builder clearValidateOnly()

Optional. If set, validate the request and preview the deletion, but do not actually post it.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeletePrincipalAccessBoundaryPolicyRequest getDefaultInstanceForType()
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getForce()

public boolean getForce()

Optional. If set to true, the request will force the deletion of the policy even if the policy is referenced in policy bindings.

bool force = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The force.

getName()

public String getName()

Required. The name of the principal access boundary policy to delete.

Format: organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the principal access boundary policy to delete.

Format: organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, validate the request and preview the deletion, but do not actually post it.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeletePrincipalAccessBoundaryPolicyRequest other)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder mergeFrom(DeletePrincipalAccessBoundaryPolicyRequest other)
Parameter
Name Description
other DeletePrincipalAccessBoundaryPolicyRequest
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder
Overrides

setEtag(String value)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder setEtag(String value)

Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder setEtagBytes(ByteString value)

Optional. The etag of the principal access boundary policy. If this is provided, it must match the server's etag.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

setForce(boolean value)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder setForce(boolean value)

Optional. If set to true, the request will force the deletion of the policy even if the policy is referenced in policy bindings.

bool force = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

setName(String value)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder setName(String value)

Required. The name of the principal access boundary policy to delete.

Format: organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder setNameBytes(ByteString value)

Required. The name of the principal access boundary policy to delete.

Format: organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.

setValidateOnly(boolean value)

public DeletePrincipalAccessBoundaryPolicyRequest.Builder setValidateOnly(boolean value)

Optional. If set, validate the request and preview the deletion, but do not actually post it.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
DeletePrincipalAccessBoundaryPolicyRequest.Builder

This builder for chaining.