public static final class DeletePrincipalAccessBoundaryPolicyRequest.Builder extends GeneratedMessageV3.Builder<DeletePrincipalAccessBoundaryPolicyRequest.Builder> implements DeletePrincipalAccessBoundaryPolicyRequestOrBuilder
Request message for DeletePrincipalAccessBoundaryPolicy method.
Protobuf type google.iam.v3beta.DeletePrincipalAccessBoundaryPolicyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeletePrincipalAccessBoundaryPolicyRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeletePrincipalAccessBoundaryPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public DeletePrincipalAccessBoundaryPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeletePrincipalAccessBoundaryPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
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. |
clone()
public DeletePrincipalAccessBoundaryPolicyRequest.Builder clone()
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
getDefaultInstanceForType()
public DeletePrincipalAccessBoundaryPolicyRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeletePrincipalAccessBoundaryPolicyRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeletePrincipalAccessBoundaryPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeletePrincipalAccessBoundaryPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeletePrincipalAccessBoundaryPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeletePrincipalAccessBoundaryPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeletePrincipalAccessBoundaryPolicyRequest.Builder |
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. |