Class DeleteAccessApprovalSettingsMessage.Builder (2.22.0)

public static final class DeleteAccessApprovalSettingsMessage.Builder extends GeneratedMessageV3.Builder<DeleteAccessApprovalSettingsMessage.Builder> implements DeleteAccessApprovalSettingsMessageOrBuilder

Request to delete access approval settings.

Protobuf type google.cloud.accessapproval.v1.DeleteAccessApprovalSettingsMessage

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteAccessApprovalSettingsMessage build()
Returns
TypeDescription
DeleteAccessApprovalSettingsMessage

buildPartial()

public DeleteAccessApprovalSettingsMessage buildPartial()
Returns
TypeDescription
DeleteAccessApprovalSettingsMessage

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteAccessApprovalSettingsMessage.Builder clearName()

Name of the AccessApprovalSettings to delete.

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

Returns
TypeDescription
DeleteAccessApprovalSettingsMessage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
TypeDescription
DeleteAccessApprovalSettingsMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the AccessApprovalSettings to delete.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the AccessApprovalSettings to delete.

string name = 1 [(.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(DeleteAccessApprovalSettingsMessage other)

public DeleteAccessApprovalSettingsMessage.Builder mergeFrom(DeleteAccessApprovalSettingsMessage other)
Parameter
NameDescription
otherDeleteAccessApprovalSettingsMessage
Returns
TypeDescription
DeleteAccessApprovalSettingsMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteAccessApprovalSettingsMessage.Builder setName(String value)

Name of the AccessApprovalSettings to delete.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteAccessApprovalSettingsMessage.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAccessApprovalSettingsMessage.Builder setNameBytes(ByteString value)

Name of the AccessApprovalSettings to delete.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteAccessApprovalSettingsMessage.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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