- 2.54.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateContactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
build()
public UpdateContactRequest build()
Returns | |
---|---|
Type | Description |
UpdateContactRequest |
buildPartial()
public UpdateContactRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateContactRequest |
clear()
public UpdateContactRequest.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateContactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateContactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
clone()
public UpdateContactRequest.Builder clone()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ContactOrBuilder |
getDefaultInstanceForType()
public UpdateContactRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateContactRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Contact |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
mergeFrom(UpdateContactRequest other)
public UpdateContactRequest.Builder mergeFrom(UpdateContactRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateContactRequest |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateContactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateContactRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateContactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | Contact |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Contact.Builder |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateContactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateContactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateContactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
UpdateContactRequest.Builder |