Class DeleteCustomerRequest.Builder (3.48.0)

public static final class DeleteCustomerRequest.Builder extends GeneratedMessageV3.Builder<DeleteCustomerRequest.Builder> implements DeleteCustomerRequestOrBuilder

Request message for CloudChannelService.DeleteCustomer.

Protobuf type google.cloud.channel.v1.DeleteCustomerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteCustomerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

build()

public DeleteCustomerRequest build()
Returns
Type Description
DeleteCustomerRequest

buildPartial()

public DeleteCustomerRequest buildPartial()
Returns
Type Description
DeleteCustomerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteCustomerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

clearName()

public DeleteCustomerRequest.Builder clearName()

Required. The resource name of the customer to delete.

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

Returns
Type Description
DeleteCustomerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteCustomerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

clone()

public DeleteCustomerRequest.Builder clone()
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteCustomerRequest getDefaultInstanceForType()
Returns
Type Description
DeleteCustomerRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the customer to delete.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the customer to delete.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteCustomerRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCustomerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteCustomerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

setName(String value)

public DeleteCustomerRequest.Builder setName(String value)

Required. The resource name of the customer to delete.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteCustomerRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteCustomerRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the customer to delete.

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
DeleteCustomerRequest.Builder

This builder for chaining.

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

public DeleteCustomerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCustomerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteCustomerRequest.Builder
Overrides