Class FeedAttributeOperation.Builder

  • All Implemented Interfaces:
    FeedAttributeOperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    FeedAttributeOperation

    public static final class FeedAttributeOperation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FeedAttributeOperation.Builder>
    implements FeedAttributeOperationOrBuilder
     Operation to be performed on a feed attribute list in a mutate.
     
    Protobuf type google.ads.googleads.v10.resources.FeedAttributeOperation
    • 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<FeedAttributeOperation.Builder>
      • clear

        public FeedAttributeOperation.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<FeedAttributeOperation.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<FeedAttributeOperation.Builder>
      • getDefaultInstanceForType

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

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

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

        public FeedAttributeOperation.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<FeedAttributeOperation.Builder>
      • setField

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

        public FeedAttributeOperation.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<FeedAttributeOperation.Builder>
      • clearOneof

        public FeedAttributeOperation.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<FeedAttributeOperation.Builder>
      • setRepeatedField

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

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

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

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

        public int getOperatorValue()
         Output only. Type of list operation to perform.
         
        .google.ads.googleads.v10.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getOperatorValue in interface FeedAttributeOperationOrBuilder
        Returns:
        The enum numeric value on the wire for operator.
      • setOperatorValue

        public FeedAttributeOperation.Builder setOperatorValue​(int value)
         Output only. Type of list operation to perform.
         
        .google.ads.googleads.v10.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for operator to set.
        Returns:
        This builder for chaining.
      • setOperator

        public FeedAttributeOperation.Builder setOperator​(FeedAttributeOperation.Operator value)
         Output only. Type of list operation to perform.
         
        .google.ads.googleads.v10.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The operator to set.
        Returns:
        This builder for chaining.
      • clearOperator

        public FeedAttributeOperation.Builder clearOperator()
         Output only. Type of list operation to perform.
         
        .google.ads.googleads.v10.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasValue

        public boolean hasValue()
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasValue in interface FeedAttributeOperationOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public FeedAttribute getValue()
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getValue in interface FeedAttributeOperationOrBuilder
        Returns:
        The value.
      • setValue

        public FeedAttributeOperation.Builder setValue​(FeedAttribute value)
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setValue

        public FeedAttributeOperation.Builder setValue​(FeedAttribute.Builder builderForValue)
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeValue

        public FeedAttributeOperation.Builder mergeValue​(FeedAttribute value)
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearValue

        public FeedAttributeOperation.Builder clearValue()
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getValueBuilder

        public FeedAttribute.Builder getValueBuilder()
         Output only. The feed attribute being added to the list.
         
        .google.ads.googleads.v10.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final FeedAttributeOperation.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<FeedAttributeOperation.Builder>
      • mergeUnknownFields

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