Send feedback
Class UpdateCustomerRequest.Builder (3.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.7.0 keyboard_arrow_down
public static final class UpdateCustomerRequest . Builder extends GeneratedMessageV3 . Builder<UpdateCustomerRequest . Builder > implements UpdateCustomerRequestOrBuilder
Request message for CloudChannelService.UpdateCustomer .
Protobuf type google.cloud.channel.v1.UpdateCustomerRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomerRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateCustomerRequest build ()
Returns
buildPartial()
public UpdateCustomerRequest buildPartial ()
Returns
clear()
public UpdateCustomerRequest . Builder clear ()
Returns
Overrides
clearCustomer()
public UpdateCustomerRequest . Builder clearCustomer ()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateCustomerRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCustomerRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateCustomerRequest . Builder clearUpdateMask ()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateCustomerRequest . Builder clone ()
Returns
Overrides
getCustomer()
public Customer getCustomer ()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCustomerBuilder()
public Customer . Builder getCustomerBuilder ()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCustomerOrBuilder()
public CustomerOrBuilder getCustomerOrBuilder ()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateCustomerRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask ()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Returns
hasCustomer()
public boolean hasCustomer ()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the customer field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Returns
Type Description boolean Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeCustomer(Customer value)
public UpdateCustomerRequest . Builder mergeCustomer ( Customer value )
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateCustomerRequest other)
public UpdateCustomerRequest . Builder mergeFrom ( UpdateCustomerRequest other )
Parameter
Returns
public UpdateCustomerRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCustomerRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomerRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCustomerRequest . Builder mergeUpdateMask ( FieldMask value )
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setCustomer(Customer value)
public UpdateCustomerRequest . Builder setCustomer ( Customer value )
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setCustomer(Customer.Builder builderForValue)
public UpdateCustomerRequest . Builder setCustomer ( Customer . Builder builderForValue )
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomerRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCustomerRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomerRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateCustomerRequest . Builder setUpdateMask ( FieldMask value )
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCustomerRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Name Description builderForValue Builder
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]