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 TypeMethodDescriptionbuild()clear()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.Descriptorcom.google.protobuf.Descriptors.DescriptorRemove 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.ByteStringRemove 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.FieldMaskFieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.BuilderFieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuilderFieldMask that determines which resource fields are modified in an update.Update operation: The account link is expected to have a valid resource name.booleanRemove operation: A resource name for the account link to remove is expected, in this format: `customers/{customer_id}/accountLinks/{account_link_id}`booleanUpdate operation: The account link is expected to have a valid resource name.booleanFieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AccountLinkOperation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdate(AccountLink value) 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}`setUpdate(AccountLink value) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AccountLinkOperation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AccountLinkOperation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AccountLinkOperation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountLinkOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountLinkOperation.Builder>- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceAccountLinkOperationOrBuilder
-
clearOperation
-
hasUpdateMask
public boolean hasUpdateMask()FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
hasUpdateMaskin interfaceAccountLinkOperationOrBuilder- 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:
getUpdateMaskin interfaceAccountLinkOperationOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
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
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
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:
getUpdateMaskOrBuilderin interfaceAccountLinkOperationOrBuilder
-
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:
hasUpdatein interfaceAccountLinkOperationOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2;- Specified by:
getUpdatein interfaceAccountLinkOperationOrBuilder- Returns:
- The update.
-
setUpdate
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2; -
setUpdate
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2; -
mergeUpdate
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2; -
clearUpdate
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2; -
getUpdateBuilder
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2; -
getUpdateOrBuilder
Update operation: The account link is expected to have a valid resource name.
.google.ads.googleads.v22.resources.AccountLink update = 2;- Specified by:
getUpdateOrBuilderin interfaceAccountLinkOperationOrBuilder
-
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:
hasRemovein interfaceAccountLinkOperationOrBuilder- Returns:
- Whether the remove field is set.
-
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:
getRemovein interfaceAccountLinkOperationOrBuilder- 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:
getRemoveBytesin interfaceAccountLinkOperationOrBuilder- Returns:
- The bytes for remove.
-
setRemove
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
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
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.
-