Class CustomInterestOperation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
com.google.ads.googleads.v18.services.CustomInterestOperation.Builder
All Implemented Interfaces:
CustomInterestOperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CustomInterestOperation

public static final class CustomInterestOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder> implements CustomInterestOperationOrBuilder
 A single operation (create, update) on a custom interest.
 
Protobuf type google.ads.googleads.v18.services.CustomInterestOperation
  • Method Details

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

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

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

      public CustomInterestOperation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<CustomInterestOperation.Builder>
    • setField

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

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

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

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

      public CustomInterestOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
    • mergeFrom

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

    • isInitialized

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

      public CustomInterestOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<CustomInterestOperation.Builder>
      Throws:
      IOException
    • getOperationCase

      public CustomInterestOperation.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface CustomInterestOperationOrBuilder
    • clearOperation

      public CustomInterestOperation.Builder clearOperation()
    • hasUpdateMask

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

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

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

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

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

      public CustomInterestOperation.Builder clearUpdateMask()
       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()
       FieldMask that determines which resource fields are modified in an update.
       
      .google.protobuf.FieldMask update_mask = 4;
    • getUpdateMaskOrBuilder

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

      public boolean hasCreate()
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
      Specified by:
      hasCreate in interface CustomInterestOperationOrBuilder
      Returns:
      Whether the create field is set.
    • getCreate

      public CustomInterest getCreate()
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
      Specified by:
      getCreate in interface CustomInterestOperationOrBuilder
      Returns:
      The create.
    • setCreate

       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
    • setCreate

      public CustomInterestOperation.Builder setCreate(CustomInterest.Builder builderForValue)
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
    • mergeCreate

      public CustomInterestOperation.Builder mergeCreate(CustomInterest value)
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
    • clearCreate

      public CustomInterestOperation.Builder clearCreate()
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
    • getCreateBuilder

      public CustomInterest.Builder getCreateBuilder()
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
    • getCreateOrBuilder

      public CustomInterestOrBuilder getCreateOrBuilder()
       Create operation: No resource name is expected for the new custom
       interest.
       
      .google.ads.googleads.v18.resources.CustomInterest create = 1;
      Specified by:
      getCreateOrBuilder in interface CustomInterestOperationOrBuilder
    • hasUpdate

      public boolean hasUpdate()
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
      Specified by:
      hasUpdate in interface CustomInterestOperationOrBuilder
      Returns:
      Whether the update field is set.
    • getUpdate

      public CustomInterest getUpdate()
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
      Specified by:
      getUpdate in interface CustomInterestOperationOrBuilder
      Returns:
      The update.
    • setUpdate

       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
    • setUpdate

      public CustomInterestOperation.Builder setUpdate(CustomInterest.Builder builderForValue)
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
    • mergeUpdate

      public CustomInterestOperation.Builder mergeUpdate(CustomInterest value)
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
    • clearUpdate

      public CustomInterestOperation.Builder clearUpdate()
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
    • getUpdateBuilder

      public CustomInterest.Builder getUpdateBuilder()
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
    • getUpdateOrBuilder

      public CustomInterestOrBuilder getUpdateOrBuilder()
       Update operation: The custom interest is expected to have a valid
       resource name.
       
      .google.ads.googleads.v18.resources.CustomInterest update = 2;
      Specified by:
      getUpdateOrBuilder in interface CustomInterestOperationOrBuilder
    • setUnknownFields

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

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