Class UpdateContactRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • clear

        public UpdateContactRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • getDefaultInstanceForType

        public UpdateContactRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateContactRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateContactRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UpdateContactRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • setField

        public UpdateContactRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • clearField

        public UpdateContactRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • clearOneof

        public UpdateContactRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • setRepeatedField

        public UpdateContactRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • addRepeatedField

        public UpdateContactRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • mergeFrom

        public UpdateContactRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateContactRequest.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        hasContact in interface UpdateContactRequestOrBuilder
        Returns:
        Whether the contact field is set.
      • 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];
        Specified by:
        getContact in interface UpdateContactRequestOrBuilder
        Returns:
        The contact.
      • setContact

        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];
      • setContact

        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];
      • mergeContact

        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];
      • 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];
      • 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];
      • 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];
        Specified by:
        getContactOrBuilder in interface UpdateContactRequestOrBuilder
      • 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];
        Specified by:
        hasUpdateMask in interface UpdateContactRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.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];
        Specified by:
        getUpdateMask in interface UpdateContactRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateContactRequest.Builder setUpdateMask​(com.google.protobuf.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];
      • setUpdateMask

        public UpdateContactRequest.Builder setUpdateMask​(com.google.protobuf.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];
      • mergeUpdateMask

        public UpdateContactRequest.Builder mergeUpdateMask​(com.google.protobuf.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];
      • 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];
      • getUpdateMaskBuilder

        public com.google.protobuf.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];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.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];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateContactRequestOrBuilder
      • setUnknownFields

        public final UpdateContactRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>
      • mergeUnknownFields

        public final UpdateContactRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateContactRequest.Builder>