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

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

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

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

        public CampaignLifecycleGoalOperation.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<CampaignLifecycleGoalOperation.Builder>
      • isInitialized

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

        public CampaignLifecycleGoalOperation.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<CampaignLifecycleGoalOperation.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 CampaignLifecycleGoalOperationOrBuilder
        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 CampaignLifecycleGoalOperationOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public CampaignLifecycleGoalOperation.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 CampaignLifecycleGoalOperation.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 CampaignLifecycleGoalOperation.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 CampaignLifecycleGoalOperation.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 CampaignLifecycleGoalOperationOrBuilder
      • hasCreate

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

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

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

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

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

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

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

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