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

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

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

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

        public KeywordPlanAdGroupOperation.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<KeywordPlanAdGroupOperation.Builder>
      • addRepeatedField

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

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

        public KeywordPlanAdGroupOperation.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<KeywordPlanAdGroupOperation.Builder>
        Throws:
        java.io.IOException
      • hasUpdateMask

        public boolean hasUpdateMask()
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
        Specified by:
        hasUpdateMask in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
        Specified by:
        getUpdateMask in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public KeywordPlanAdGroupOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • setUpdateMask

        public KeywordPlanAdGroupOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • mergeUpdateMask

        public KeywordPlanAdGroupOperation.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • clearUpdateMask

        public KeywordPlanAdGroupOperation.Builder clearUpdateMask()
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         The FieldMask that determines which resource fields are modified in an
         update.
         
        .google.protobuf.FieldMask update_mask = 4;
        Specified by:
        getUpdateMaskOrBuilder in interface KeywordPlanAdGroupOperationOrBuilder
      • hasCreate

        public boolean hasCreate()
         Create operation: No resource name is expected for the new Keyword Plan
         ad group.
         
        .google.ads.googleads.v10.resources.KeywordPlanAdGroup create = 1;
        Specified by:
        hasCreate in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        Whether the create field is set.
      • clearCreate

        public KeywordPlanAdGroupOperation.Builder clearCreate()
         Create operation: No resource name is expected for the new Keyword Plan
         ad group.
         
        .google.ads.googleads.v10.resources.KeywordPlanAdGroup create = 1;
      • getCreateBuilder

        public KeywordPlanAdGroup.Builder getCreateBuilder()
         Create operation: No resource name is expected for the new Keyword Plan
         ad group.
         
        .google.ads.googleads.v10.resources.KeywordPlanAdGroup create = 1;
      • hasUpdate

        public boolean hasUpdate()
         Update operation: The Keyword Plan ad group is expected to have a valid
         resource name.
         
        .google.ads.googleads.v10.resources.KeywordPlanAdGroup update = 2;
        Specified by:
        hasUpdate in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        Whether the update field is set.
      • clearUpdate

        public KeywordPlanAdGroupOperation.Builder clearUpdate()
         Update operation: The Keyword Plan ad group is expected to have a valid
         resource name.
         
        .google.ads.googleads.v10.resources.KeywordPlanAdGroup update = 2;
      • getUpdateBuilder

        public KeywordPlanAdGroup.Builder getUpdateBuilder()
         Update operation: The Keyword Plan ad group is expected to have a valid
         resource name.
         
        .google.ads.googleads.v10.resources.KeywordPlanAdGroup update = 2;
      • hasRemove

        public boolean hasRemove()
         Remove operation: A resource name for the removed Keyword Plan ad group
         is expected, in this format:
         `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        hasRemove in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        Whether the remove field is set.
      • getRemove

        public java.lang.String getRemove()
         Remove operation: A resource name for the removed Keyword Plan ad group
         is expected, in this format:
         `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemove in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        The remove.
      • getRemoveBytes

        public com.google.protobuf.ByteString getRemoveBytes()
         Remove operation: A resource name for the removed Keyword Plan ad group
         is expected, in this format:
         `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemoveBytes in interface KeywordPlanAdGroupOperationOrBuilder
        Returns:
        The bytes for remove.
      • setRemove

        public KeywordPlanAdGroupOperation.Builder setRemove​(java.lang.String value)
         Remove operation: A resource name for the removed Keyword Plan ad group
         is expected, in this format:
         `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The remove to set.
        Returns:
        This builder for chaining.
      • clearRemove

        public KeywordPlanAdGroupOperation.Builder clearRemove()
         Remove operation: A resource name for the removed Keyword Plan ad group
         is expected, in this format:
         `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setRemoveBytes

        public KeywordPlanAdGroupOperation.Builder setRemoveBytes​(com.google.protobuf.ByteString value)
         Remove operation: A resource name for the removed Keyword Plan ad group
         is expected, in this format:
         `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for remove to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final KeywordPlanAdGroupOperation.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<KeywordPlanAdGroupOperation.Builder>