public static final class UpdateContactRequest.Builder extends GeneratedMessageV3.Builder<UpdateContactRequest.Builder> implements UpdateContactRequestOrBuilder
Request message for the UpdateContact method.
Protobuf type google.cloud.essentialcontacts.v1.UpdateContactRequest
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdateContactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateContactRequest build()
Returns
public UpdateContactRequest buildPartial()
Returns
public UpdateContactRequest.Builder clear()
Returns
Overrides
public UpdateContactRequest.Builder clearContact()
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public UpdateContactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdateContactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdateContactRequest.Builder clearUpdateMask()
Returns
public UpdateContactRequest.Builder clone()
Returns
Overrides
public Contact getContact()
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Contact.Builder getContactBuilder()
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ContactOrBuilder getContactOrBuilder()
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public UpdateContactRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public FieldMask getUpdateMask()
Returns
public FieldMask.Builder getUpdateMaskBuilder()
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Returns
public boolean hasContact()
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the contact field is set.
|
public boolean hasUpdateMask()
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateContactRequest.Builder mergeContact(Contact value)
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdateContactRequest.Builder mergeFrom(UpdateContactRequest other)
Parameter
Returns
public UpdateContactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateContactRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final UpdateContactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateContactRequest.Builder mergeUpdateMask(FieldMask value)
Parameter
Returns
public UpdateContactRequest.Builder setContact(Contact value)
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdateContactRequest.Builder setContact(Contact.Builder builderForValue)
Required. The contact resource to replace the existing saved contact. Note:
the email address of the contact cannot be modified.
.google.cloud.essentialcontacts.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public UpdateContactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateContactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdateContactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateContactRequest.Builder setUpdateMask(FieldMask value)
Parameter
Returns
public UpdateContactRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter
Name | Description |
builderForValue | Builder
|
Returns