Class AccountLinkOperation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccountLinkOperation.Builder>
com.google.ads.googleads.v22.services.AccountLinkOperation.Builder
All Implemented Interfaces:
AccountLinkOperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AccountLinkOperation

public static final class AccountLinkOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccountLinkOperation.Builder> implements AccountLinkOperationOrBuilder
 A single update on an account link.
 
Protobuf type google.ads.googleads.v22.services.AccountLinkOperation
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    Remove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`
    Update operation: The account link is expected to have a valid resource name.
    FieldMask that determines which resource fields are modified in an update.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    Remove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`
    com.google.protobuf.ByteString
    Remove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`
    Update operation: The account link is expected to have a valid resource name.
    Update operation: The account link is expected to have a valid resource name.
    com.google.protobuf.FieldMask
    FieldMask that determines which resource fields are modified in an update.
    com.google.protobuf.FieldMask.Builder
    FieldMask that determines which resource fields are modified in an update.
    com.google.protobuf.FieldMaskOrBuilder
    FieldMask that determines which resource fields are modified in an update.
    Update operation: The account link is expected to have a valid resource name.
    boolean
    Remove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`
    boolean
    Update operation: The account link is expected to have a valid resource name.
    boolean
    FieldMask that determines which resource fields are modified in an update.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Update operation: The account link is expected to have a valid resource name.
    mergeUpdateMask(com.google.protobuf.FieldMask value)
    FieldMask that determines which resource fields are modified in an update.
    Remove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`
    setRemoveBytes(com.google.protobuf.ByteString value)
    Remove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`
    Update operation: The account link is expected to have a valid resource name.
    setUpdate(AccountLink.Builder builderForValue)
    Update operation: The account link is expected to have a valid resource name.
    setUpdateMask(com.google.protobuf.FieldMask value)
    FieldMask that determines which resource fields are modified in an update.
    setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
    FieldMask that determines which resource fields are modified in an update.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccountLinkOperation.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.GeneratedMessage.Builder<AccountLinkOperation.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.GeneratedMessage.Builder<AccountLinkOperation.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public AccountLinkOperation.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<AccountLinkOperation.Builder>
      Throws:
      IOException
    • getOperationCase

      public AccountLinkOperation.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface AccountLinkOperationOrBuilder
    • clearOperation

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

      public AccountLinkOperation.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 AccountLinkOperation.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 AccountLinkOperation.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 AccountLinkOperation.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 AccountLinkOperationOrBuilder
    • hasUpdate

      public boolean hasUpdate()
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
      Specified by:
      hasUpdate in interface AccountLinkOperationOrBuilder
      Returns:
      Whether the update field is set.
    • getUpdate

      public AccountLink getUpdate()
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
      Specified by:
      getUpdate in interface AccountLinkOperationOrBuilder
      Returns:
      The update.
    • setUpdate

      public AccountLinkOperation.Builder setUpdate(AccountLink value)
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
    • setUpdate

      public AccountLinkOperation.Builder setUpdate(AccountLink.Builder builderForValue)
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
    • mergeUpdate

      public AccountLinkOperation.Builder mergeUpdate(AccountLink value)
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
    • clearUpdate

      public AccountLinkOperation.Builder clearUpdate()
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
    • getUpdateBuilder

      public AccountLink.Builder getUpdateBuilder()
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
    • getUpdateOrBuilder

      public AccountLinkOrBuilder getUpdateOrBuilder()
       Update operation: The account link is expected to have
       a valid resource name.
       
      .google.ads.googleads.v22.resources.AccountLink update = 2;
      Specified by:
      getUpdateOrBuilder in interface AccountLinkOperationOrBuilder
    • hasRemove

      public boolean hasRemove()
       Remove operation: A resource name for the account link to remove is
       expected, in this format:
      
       `customers/{customer_id}/accountLinks/{account_link_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasRemove in interface AccountLinkOperationOrBuilder
      Returns:
      Whether the remove field is set.
    • getRemove

      public String getRemove()
       Remove operation: A resource name for the account link to remove is
       expected, in this format:
      
       `customers/{customer_id}/accountLinks/{account_link_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRemove in interface AccountLinkOperationOrBuilder
      Returns:
      The remove.
    • getRemoveBytes

      public com.google.protobuf.ByteString getRemoveBytes()
       Remove operation: A resource name for the account link to remove is
       expected, in this format:
      
       `customers/{customer_id}/accountLinks/{account_link_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRemoveBytes in interface AccountLinkOperationOrBuilder
      Returns:
      The bytes for remove.
    • setRemove

      public AccountLinkOperation.Builder setRemove(String value)
       Remove operation: A resource name for the account link to remove is
       expected, in this format:
      
       `customers/{customer_id}/accountLinks/{account_link_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The remove to set.
      Returns:
      This builder for chaining.
    • clearRemove

      public AccountLinkOperation.Builder clearRemove()
       Remove operation: A resource name for the account link to remove is
       expected, in this format:
      
       `customers/{customer_id}/accountLinks/{account_link_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRemoveBytes

      public AccountLinkOperation.Builder setRemoveBytes(com.google.protobuf.ByteString value)
       Remove operation: A resource name for the account link to remove is
       expected, in this format:
      
       `customers/{customer_id}/accountLinks/{account_link_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for remove to set.
      Returns:
      This builder for chaining.