- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.0
- 2.1.11
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateContactRequest.BuilderImplements
UpdateContactRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateContactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateContactRequest.Builder |
build()
public UpdateContactRequest build()
Type | Description |
UpdateContactRequest |
buildPartial()
public UpdateContactRequest buildPartial()
Type | Description |
UpdateContactRequest |
clear()
public UpdateContactRequest.Builder clear()
Type | Description |
UpdateContactRequest.Builder |
clearContact()
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];
Type | Description |
UpdateContactRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateContactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdateContactRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateContactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdateContactRequest.Builder |
clearUpdateMask()
public UpdateContactRequest.Builder clearUpdateMask()
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
UpdateContactRequest.Builder |
clone()
public UpdateContactRequest.Builder clone()
Type | Description |
UpdateContactRequest.Builder |
getContact()
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];
Type | Description |
Contact | The contact. |
getContactBuilder()
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];
Type | Description |
Contact.Builder |
getContactOrBuilder()
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];
Type | Description |
ContactOrBuilder |
getDefaultInstanceForType()
public UpdateContactRequest getDefaultInstanceForType()
Type | Description |
UpdateContactRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
FieldMaskOrBuilder |
hasContact()
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];
Type | Description |
boolean | Whether the contact field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContact(Contact value)
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];
Name | Description |
value | Contact |
Type | Description |
UpdateContactRequest.Builder |
mergeFrom(UpdateContactRequest other)
public UpdateContactRequest.Builder mergeFrom(UpdateContactRequest other)
Name | Description |
other | UpdateContactRequest |
Type | Description |
UpdateContactRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateContactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateContactRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateContactRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdateContactRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateContactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateContactRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateContactRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | FieldMask |
Type | Description |
UpdateContactRequest.Builder |
setContact(Contact 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];
Name | Description |
value | Contact |
Type | Description |
UpdateContactRequest.Builder |
setContact(Contact.Builder builderForValue)
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];
Name | Description |
builderForValue | Contact.Builder |
Type | Description |
UpdateContactRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateContactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateContactRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateContactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdateContactRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateContactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateContactRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateContactRequest.Builder setUpdateMask(FieldMask value)
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | FieldMask |
Type | Description |
UpdateContactRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateContactRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The update mask applied to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | Builder |
Type | Description |
UpdateContactRequest.Builder |