Class DeleteAuthorizationPolicyRequest.Builder (0.24.0)

public static final class DeleteAuthorizationPolicyRequest.Builder extends GeneratedMessageV3.Builder<DeleteAuthorizationPolicyRequest.Builder> implements DeleteAuthorizationPolicyRequestOrBuilder

Request used by the DeleteAuthorizationPolicy method.

Protobuf type google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteAuthorizationPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

build()

public DeleteAuthorizationPolicyRequest build()
Returns
TypeDescription
DeleteAuthorizationPolicyRequest

buildPartial()

public DeleteAuthorizationPolicyRequest buildPartial()
Returns
TypeDescription
DeleteAuthorizationPolicyRequest

clear()

public DeleteAuthorizationPolicyRequest.Builder clear()
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteAuthorizationPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

clearName()

public DeleteAuthorizationPolicyRequest.Builder clearName()

Required. A name of the AuthorizationPolicy to delete. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

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

Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteAuthorizationPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

clone()

public DeleteAuthorizationPolicyRequest.Builder clone()
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteAuthorizationPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteAuthorizationPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. A name of the AuthorizationPolicy to delete. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A name of the AuthorizationPolicy to delete. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteAuthorizationPolicyRequest other)

public DeleteAuthorizationPolicyRequest.Builder mergeFrom(DeleteAuthorizationPolicyRequest other)
Parameter
NameDescription
otherDeleteAuthorizationPolicyRequest
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteAuthorizationPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteAuthorizationPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteAuthorizationPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteAuthorizationPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

setName(String value)

public DeleteAuthorizationPolicyRequest.Builder setName(String value)

Required. A name of the AuthorizationPolicy to delete. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAuthorizationPolicyRequest.Builder setNameBytes(ByteString value)

Required. A name of the AuthorizationPolicy to delete. Must be in the format projects/{project}/locations/{location}/authorizationPolicies/*.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteAuthorizationPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteAuthorizationPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteAuthorizationPolicyRequest.Builder
Overrides