Class KeywordPlanAdGroupOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
com.google.ads.googleads.v18.services.KeywordPlanAdGroupOperation.Builder
- All Implemented Interfaces:
KeywordPlanAdGroupOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- KeywordPlanAdGroupOperation
public static final class KeywordPlanAdGroupOperation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
implements KeywordPlanAdGroupOperationOrBuilder
A single operation (create, update, remove) on a Keyword Plan ad group.Protobuf type
google.ads.googleads.v18.services.KeywordPlanAdGroupOperation-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Create operation: No resource name is expected for the new Keyword Plan ad group.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`Update operation: The Keyword Plan ad group is expected to have a valid resource name.The FieldMask that determines which resource fields are modified in an update.clone()Create operation: No resource name is expected for the new Keyword Plan ad group.Create operation: No resource name is expected for the new Keyword Plan ad group.Create operation: No resource name is expected for the new Keyword Plan ad group.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRemove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`com.google.protobuf.ByteStringRemove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`Update operation: The Keyword Plan ad group is expected to have a valid resource name.Update operation: The Keyword Plan ad group is expected to have a valid resource name.com.google.protobuf.FieldMaskThe FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.BuilderThe FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuilderThe FieldMask that determines which resource fields are modified in an update.Update operation: The Keyword Plan ad group is expected to have a valid resource name.booleanCreate operation: No resource name is expected for the new Keyword Plan ad group.booleanRemove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`booleanUpdate operation: The Keyword Plan ad group is expected to have a valid resource name.booleanThe FieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreate(KeywordPlanAdGroup value) Create operation: No resource name is expected for the new Keyword Plan ad group.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdate(KeywordPlanAdGroup value) Update operation: The Keyword Plan ad group is expected to have a valid resource name.mergeUpdateMask(com.google.protobuf.FieldMask value) The FieldMask that determines which resource fields are modified in an update.setCreate(KeywordPlanAdGroup value) Create operation: No resource name is expected for the new Keyword Plan ad group.setCreate(KeywordPlanAdGroup.Builder builderForValue) Create operation: No resource name is expected for the new Keyword Plan ad group.Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`setRemoveBytes(com.google.protobuf.ByteString value) Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdate(KeywordPlanAdGroup value) Update operation: The Keyword Plan ad group is expected to have a valid resource name.setUpdate(KeywordPlanAdGroup.Builder builderForValue) Update operation: The Keyword Plan ad group is expected to have a valid resource name.setUpdateMask(com.google.protobuf.FieldMask value) The FieldMask that determines which resource fields are modified in an update.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) The FieldMask that determines which resource fields are modified in an update.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.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.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
setField
public KeywordPlanAdGroupOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
clearField
public KeywordPlanAdGroupOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
clearOneof
public KeywordPlanAdGroupOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
setRepeatedField
public KeywordPlanAdGroupOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
addRepeatedField
public KeywordPlanAdGroupOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KeywordPlanAdGroupOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
mergeFrom
public KeywordPlanAdGroupOperation.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<KeywordPlanAdGroupOperation.Builder>- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceKeywordPlanAdGroupOperationOrBuilder
-
clearOperation
-
hasUpdateMask
public boolean hasUpdateMask()The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
hasUpdateMaskin interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
getUpdateMaskin interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
setUpdateMask
public KeywordPlanAdGroupOperation.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
mergeUpdateMask
The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
clearUpdateMask
The 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()The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
getUpdateMaskOrBuilderin interfaceKeywordPlanAdGroupOperationOrBuilder
-
hasCreate
public boolean hasCreate()Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1;- Specified by:
hasCreatein interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1;- Specified by:
getCreatein interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- The create.
-
setCreate
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1; -
setCreate
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1; -
mergeCreate
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1; -
clearCreate
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1; -
getCreateBuilder
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1; -
getCreateOrBuilder
Create operation: No resource name is expected for the new Keyword Plan ad group.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup create = 1;- Specified by:
getCreateOrBuilderin interfaceKeywordPlanAdGroupOperationOrBuilder
-
hasUpdate
public boolean hasUpdate()Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2;- Specified by:
hasUpdatein interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2;- Specified by:
getUpdatein interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- The update.
-
setUpdate
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2; -
setUpdate
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2; -
mergeUpdate
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2; -
clearUpdate
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2; -
getUpdateBuilder
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2; -
getUpdateOrBuilder
Update operation: The Keyword Plan ad group is expected to have a valid resource name.
.google.ads.googleads.v18.resources.KeywordPlanAdGroup update = 2;- Specified by:
getUpdateOrBuilderin interfaceKeywordPlanAdGroupOperationOrBuilder
-
hasRemove
public boolean hasRemove()Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`string remove = 3 [(.google.api.resource_reference) = { ... }- Specified by:
hasRemovein interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- Whether the remove field is set.
-
getRemove
Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`string remove = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getRemovein interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- The remove.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes()Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`string remove = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getRemoveBytesin interfaceKeywordPlanAdGroupOperationOrBuilder- Returns:
- The bytes for remove.
-
setRemove
Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_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 removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`string remove = 3 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRemoveBytes
Remove operation: A resource name for the removed Keyword Plan ad group is expected, in this format: `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`string remove = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for remove to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KeywordPlanAdGroupOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-
mergeUnknownFields
public final KeywordPlanAdGroupOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanAdGroupOperation.Builder>
-