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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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