Class Operand.Builder

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

    public static final class Operand.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Operand.Builder>
    implements OperandOrBuilder
     An operand in a matching function.
     
    Protobuf type google.ads.googleads.v10.common.Operand
    • 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<Operand.Builder>
      • clear

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

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

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

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

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

        public Operand.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<Operand.Builder>
      • clearField

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

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

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

        public Operand.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<Operand.Builder>
      • mergeFrom

        public Operand.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Operand.Builder>
      • isInitialized

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

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

        public Operand.Builder clearFunctionArgumentOperand()
      • hasConstantOperand

        public boolean hasConstantOperand()
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
        Specified by:
        hasConstantOperand in interface OperandOrBuilder
        Returns:
        Whether the constantOperand field is set.
      • getConstantOperand

        public Operand.ConstantOperand getConstantOperand()
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
        Specified by:
        getConstantOperand in interface OperandOrBuilder
        Returns:
        The constantOperand.
      • setConstantOperand

        public Operand.Builder setConstantOperand​(Operand.ConstantOperand value)
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
      • setConstantOperand

        public Operand.Builder setConstantOperand​(Operand.ConstantOperand.Builder builderForValue)
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
      • mergeConstantOperand

        public Operand.Builder mergeConstantOperand​(Operand.ConstantOperand value)
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
      • clearConstantOperand

        public Operand.Builder clearConstantOperand()
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
      • getConstantOperandBuilder

        public Operand.ConstantOperand.Builder getConstantOperandBuilder()
         A constant operand in a matching function.
         
        .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
      • hasFeedAttributeOperand

        public boolean hasFeedAttributeOperand()
         This operand specifies a feed attribute in feed.
         
        .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
        Specified by:
        hasFeedAttributeOperand in interface OperandOrBuilder
        Returns:
        Whether the feedAttributeOperand field is set.
      • setFeedAttributeOperand

        public Operand.Builder setFeedAttributeOperand​(Operand.FeedAttributeOperand value)
         This operand specifies a feed attribute in feed.
         
        .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
      • setFeedAttributeOperand

        public Operand.Builder setFeedAttributeOperand​(Operand.FeedAttributeOperand.Builder builderForValue)
         This operand specifies a feed attribute in feed.
         
        .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
      • mergeFeedAttributeOperand

        public Operand.Builder mergeFeedAttributeOperand​(Operand.FeedAttributeOperand value)
         This operand specifies a feed attribute in feed.
         
        .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
      • clearFeedAttributeOperand

        public Operand.Builder clearFeedAttributeOperand()
         This operand specifies a feed attribute in feed.
         
        .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
      • getFeedAttributeOperandBuilder

        public Operand.FeedAttributeOperand.Builder getFeedAttributeOperandBuilder()
         This operand specifies a feed attribute in feed.
         
        .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
      • hasFunctionOperand

        public boolean hasFunctionOperand()
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
        Specified by:
        hasFunctionOperand in interface OperandOrBuilder
        Returns:
        Whether the functionOperand field is set.
      • getFunctionOperand

        public Operand.FunctionOperand getFunctionOperand()
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
        Specified by:
        getFunctionOperand in interface OperandOrBuilder
        Returns:
        The functionOperand.
      • setFunctionOperand

        public Operand.Builder setFunctionOperand​(Operand.FunctionOperand value)
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
      • setFunctionOperand

        public Operand.Builder setFunctionOperand​(Operand.FunctionOperand.Builder builderForValue)
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
      • mergeFunctionOperand

        public Operand.Builder mergeFunctionOperand​(Operand.FunctionOperand value)
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
      • clearFunctionOperand

        public Operand.Builder clearFunctionOperand()
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
      • getFunctionOperandBuilder

        public Operand.FunctionOperand.Builder getFunctionOperandBuilder()
         A function operand in a matching function.
         Used to represent nested functions.
         
        .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
      • hasRequestContextOperand

        public boolean hasRequestContextOperand()
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
        Specified by:
        hasRequestContextOperand in interface OperandOrBuilder
        Returns:
        Whether the requestContextOperand field is set.
      • getRequestContextOperand

        public Operand.RequestContextOperand getRequestContextOperand()
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
        Specified by:
        getRequestContextOperand in interface OperandOrBuilder
        Returns:
        The requestContextOperand.
      • setRequestContextOperand

        public Operand.Builder setRequestContextOperand​(Operand.RequestContextOperand value)
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
      • setRequestContextOperand

        public Operand.Builder setRequestContextOperand​(Operand.RequestContextOperand.Builder builderForValue)
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
      • mergeRequestContextOperand

        public Operand.Builder mergeRequestContextOperand​(Operand.RequestContextOperand value)
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
      • clearRequestContextOperand

        public Operand.Builder clearRequestContextOperand()
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
      • getRequestContextOperandBuilder

        public Operand.RequestContextOperand.Builder getRequestContextOperandBuilder()
         An operand in a function referring to a value in the request context.
         
        .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
      • setUnknownFields

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

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