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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCustomerRequest build()
buildPartial()
public UpdateCustomerRequest buildPartial()
clear()
public UpdateCustomerRequest.Builder clear()
Overrides
clearCustomer()
public UpdateCustomerRequest.Builder clearCustomer()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCustomerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCustomerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateCustomerRequest.Builder clearUpdateMask()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
clone()
public UpdateCustomerRequest.Builder clone()
Overrides
getCustomer()
public Customer getCustomer()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Customer |
The customer.
|
getCustomerBuilder()
public Customer.Builder getCustomerBuilder()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomerOrBuilder()
public CustomerOrBuilder getCustomerOrBuilder()
Required. New contents of the customer.
.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCustomerRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The update mask that applies to the resource.
Optional.
.google.protobuf.FieldMask update_mask = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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 |
Name |
Description |
value |
Customer
|
mergeFrom(UpdateCustomerRequest other)
public UpdateCustomerRequest.Builder mergeFrom(UpdateCustomerRequest other)
public UpdateCustomerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCustomerRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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 |
Name |
Description |
value |
Customer
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCustomerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|