Class CustomerLifecycleGoalOperation.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<CustomerLifecycleGoalOperation.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<CustomerLifecycleGoalOperation.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public CustomerLifecycleGoalOperation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.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<CustomerLifecycleGoalOperation.Builder>
        Throws:
        java.io.IOException
      • hasUpdateMask

        public boolean hasUpdateMask()
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasUpdateMask in interface CustomerLifecycleGoalOperationOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMask in interface CustomerLifecycleGoalOperationOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public CustomerLifecycleGoalOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      • setUpdateMask

        public CustomerLifecycleGoalOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      • mergeUpdateMask

        public CustomerLifecycleGoalOperation.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      • clearUpdateMask

        public CustomerLifecycleGoalOperation.Builder clearUpdateMask()
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Optional. FieldMask that determines which resource fields are modified in
         an update.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMaskOrBuilder in interface CustomerLifecycleGoalOperationOrBuilder
      • hasCreate

        public boolean hasCreate()
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
        Specified by:
        hasCreate in interface CustomerLifecycleGoalOperationOrBuilder
        Returns:
        Whether the create field is set.
      • getCreate

        public CustomerLifecycleGoal getCreate()
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
        Specified by:
        getCreate in interface CustomerLifecycleGoalOperationOrBuilder
        Returns:
        The create.
      • setCreate

        public CustomerLifecycleGoalOperation.Builder setCreate​(CustomerLifecycleGoal value)
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
      • setCreate

        public CustomerLifecycleGoalOperation.Builder setCreate​(CustomerLifecycleGoal.Builder builderForValue)
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
      • mergeCreate

        public CustomerLifecycleGoalOperation.Builder mergeCreate​(CustomerLifecycleGoal value)
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
      • clearCreate

        public CustomerLifecycleGoalOperation.Builder clearCreate()
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
      • getCreateBuilder

        public CustomerLifecycleGoal.Builder getCreateBuilder()
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
      • getCreateOrBuilder

        public CustomerLifecycleGoalOrBuilder getCreateOrBuilder()
         Create operation: to create a new customer lifecycle goal or update an
         existing customer lifecycle goal. When creating a new customer lifecycle
         goal, all required fields needs to be set. Resource name and field mask
         needs to be empty. When updating an existing customer lifecycle goal,
         resource name and field mask need to be set. Partial update based on
         field mask is supported when updating an existing customer lifecycle
         goal.
         
        .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
        Specified by:
        getCreateOrBuilder in interface CustomerLifecycleGoalOperationOrBuilder