Class DeleteCustomerRequest.Builder (3.7.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteCustomerRequest build()
Returns
TypeDescription
DeleteCustomerRequest

buildPartial()

public DeleteCustomerRequest buildPartial()
Returns
TypeDescription
DeleteCustomerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteCustomerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteCustomerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteCustomerRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteCustomerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(DeleteCustomerRequest other)

public DeleteCustomerRequest.Builder mergeFrom(DeleteCustomerRequest other)
Parameter
NameDescription
otherDeleteCustomerRequest
Returns
TypeDescription
DeleteCustomerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteCustomerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteCustomerRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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