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.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateContactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateContactRequest build()
public UpdateContactRequest buildPartial()
public UpdateContactRequest.Builder clear()
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];
public UpdateContactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateContactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateContactRequest.Builder clearUpdateMask()
public UpdateContactRequest.Builder clone()
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 |
---|
Type | Description |
Contact | The contact.
|
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];
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];
public UpdateContactRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FieldMask getUpdateMask()
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
public FieldMask.Builder getUpdateMaskBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
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()
Overrides
public final boolean isInitialized()
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 |
---|
Name | Description |
value | Contact
|
public UpdateContactRequest.Builder mergeFrom(UpdateContactRequest other)
public UpdateContactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateContactRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final UpdateContactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateContactRequest.Builder mergeUpdateMask(FieldMask value)
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 |
---|
Name | Description |
value | Contact
|
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];
public UpdateContactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateContactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateContactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateContactRequest.Builder setUpdateMask(FieldMask value)
public UpdateContactRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter |
---|
Name | Description |
builderForValue | Builder
|