Class KeywordPlanOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
- com.google.ads.googleads.v13.services.KeywordPlanOperation.Builder
-
- All Implemented Interfaces:
KeywordPlanOperationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- KeywordPlanOperation
public static final class KeywordPlanOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder> implements KeywordPlanOperationOrBuilder
A single operation (create, update, remove) on a keyword plan.
Protobuf typegoogle.ads.googleads.v13.services.KeywordPlanOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KeywordPlanOperation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
KeywordPlanOperation
build()
KeywordPlanOperation
buildPartial()
KeywordPlanOperation.Builder
clear()
KeywordPlanOperation.Builder
clearCreate()
Create operation: No resource name is expected for the new keyword plan.KeywordPlanOperation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
KeywordPlanOperation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
KeywordPlanOperation.Builder
clearOperation()
KeywordPlanOperation.Builder
clearRemove()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`KeywordPlanOperation.Builder
clearUpdate()
Update operation: The keyword plan is expected to have a valid resource name.KeywordPlanOperation.Builder
clearUpdateMask()
The FieldMask that determines which resource fields are modified in an update.KeywordPlanOperation.Builder
clone()
KeywordPlan
getCreate()
Create operation: No resource name is expected for the new keyword plan.KeywordPlan.Builder
getCreateBuilder()
Create operation: No resource name is expected for the new keyword plan.KeywordPlanOrBuilder
getCreateOrBuilder()
Create operation: No resource name is expected for the new keyword plan.KeywordPlanOperation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
KeywordPlanOperation.OperationCase
getOperationCase()
java.lang.String
getRemove()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`com.google.protobuf.ByteString
getRemoveBytes()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`KeywordPlan
getUpdate()
Update operation: The keyword plan is expected to have a valid resource name.KeywordPlan.Builder
getUpdateBuilder()
Update operation: The keyword plan is expected to have a valid resource name.com.google.protobuf.FieldMask
getUpdateMask()
The FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.Builder
getUpdateMaskBuilder()
The FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
The FieldMask that determines which resource fields are modified in an update.KeywordPlanOrBuilder
getUpdateOrBuilder()
Update operation: The keyword plan is expected to have a valid resource name.boolean
hasCreate()
Create operation: No resource name is expected for the new keyword plan.boolean
hasRemove()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`boolean
hasUpdate()
Update operation: The keyword plan is expected to have a valid resource name.boolean
hasUpdateMask()
The FieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
KeywordPlanOperation.Builder
mergeCreate(KeywordPlan value)
Create operation: No resource name is expected for the new keyword plan.KeywordPlanOperation.Builder
mergeFrom(KeywordPlanOperation other)
KeywordPlanOperation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KeywordPlanOperation.Builder
mergeFrom(com.google.protobuf.Message other)
KeywordPlanOperation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KeywordPlanOperation.Builder
mergeUpdate(KeywordPlan value)
Update operation: The keyword plan is expected to have a valid resource name.KeywordPlanOperation.Builder
mergeUpdateMask(com.google.protobuf.FieldMask value)
The FieldMask that determines which resource fields are modified in an update.KeywordPlanOperation.Builder
setCreate(KeywordPlan value)
Create operation: No resource name is expected for the new keyword plan.KeywordPlanOperation.Builder
setCreate(KeywordPlan.Builder builderForValue)
Create operation: No resource name is expected for the new keyword plan.KeywordPlanOperation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
KeywordPlanOperation.Builder
setRemove(java.lang.String value)
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`KeywordPlanOperation.Builder
setRemoveBytes(com.google.protobuf.ByteString value)
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`KeywordPlanOperation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
KeywordPlanOperation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KeywordPlanOperation.Builder
setUpdate(KeywordPlan value)
Update operation: The keyword plan is expected to have a valid resource name.KeywordPlanOperation.Builder
setUpdate(KeywordPlan.Builder builderForValue)
Update operation: The keyword plan is expected to have a valid resource name.KeywordPlanOperation.Builder
setUpdateMask(com.google.protobuf.FieldMask value)
The FieldMask that determines which resource fields are modified in an update.KeywordPlanOperation.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
clear
public KeywordPlanOperation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
getDefaultInstanceForType
public KeywordPlanOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public KeywordPlanOperation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KeywordPlanOperation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KeywordPlanOperation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
setField
public KeywordPlanOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
clearField
public KeywordPlanOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
clearOneof
public KeywordPlanOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
setRepeatedField
public KeywordPlanOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
addRepeatedField
public KeywordPlanOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
mergeFrom
public KeywordPlanOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KeywordPlanOperation.Builder>
-
mergeFrom
public KeywordPlanOperation.Builder mergeFrom(KeywordPlanOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
mergeFrom
public KeywordPlanOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KeywordPlanOperation.Builder>
- Throws:
java.io.IOException
-
getOperationCase
public KeywordPlanOperation.OperationCase getOperationCase()
- Specified by:
getOperationCase
in interfaceKeywordPlanOperationOrBuilder
-
clearOperation
public KeywordPlanOperation.Builder 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:
hasUpdateMask
in interfaceKeywordPlanOperationOrBuilder
- 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:
getUpdateMask
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- The updateMask.
-
setUpdateMask
public KeywordPlanOperation.Builder setUpdateMask(com.google.protobuf.FieldMask value)
The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;
-
setUpdateMask
public KeywordPlanOperation.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
public KeywordPlanOperation.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
The FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;
-
clearUpdateMask
public KeywordPlanOperation.Builder 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:
getUpdateMaskOrBuilder
in interfaceKeywordPlanOperationOrBuilder
-
hasCreate
public boolean hasCreate()
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
- Specified by:
hasCreate
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- Whether the create field is set.
-
getCreate
public KeywordPlan getCreate()
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
- Specified by:
getCreate
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- The create.
-
setCreate
public KeywordPlanOperation.Builder setCreate(KeywordPlan value)
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
-
setCreate
public KeywordPlanOperation.Builder setCreate(KeywordPlan.Builder builderForValue)
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
-
mergeCreate
public KeywordPlanOperation.Builder mergeCreate(KeywordPlan value)
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
-
clearCreate
public KeywordPlanOperation.Builder clearCreate()
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
-
getCreateBuilder
public KeywordPlan.Builder getCreateBuilder()
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
-
getCreateOrBuilder
public KeywordPlanOrBuilder getCreateOrBuilder()
Create operation: No resource name is expected for the new keyword plan.
.google.ads.googleads.v13.resources.KeywordPlan create = 1;
- Specified by:
getCreateOrBuilder
in interfaceKeywordPlanOperationOrBuilder
-
hasUpdate
public boolean hasUpdate()
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
- Specified by:
hasUpdate
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- Whether the update field is set.
-
getUpdate
public KeywordPlan getUpdate()
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
- Specified by:
getUpdate
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- The update.
-
setUpdate
public KeywordPlanOperation.Builder setUpdate(KeywordPlan value)
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
-
setUpdate
public KeywordPlanOperation.Builder setUpdate(KeywordPlan.Builder builderForValue)
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
-
mergeUpdate
public KeywordPlanOperation.Builder mergeUpdate(KeywordPlan value)
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
-
clearUpdate
public KeywordPlanOperation.Builder clearUpdate()
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
-
getUpdateBuilder
public KeywordPlan.Builder getUpdateBuilder()
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
-
getUpdateOrBuilder
public KeywordPlanOrBuilder getUpdateOrBuilder()
Update operation: The keyword plan is expected to have a valid resource name.
.google.ads.googleads.v13.resources.KeywordPlan update = 2;
- Specified by:
getUpdateOrBuilder
in interfaceKeywordPlanOperationOrBuilder
-
hasRemove
public boolean hasRemove()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`
string remove = 3 [(.google.api.resource_reference) = { ... }
- Specified by:
hasRemove
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- Whether the remove field is set.
-
getRemove
public java.lang.String getRemove()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`
string remove = 3 [(.google.api.resource_reference) = { ... }
- Specified by:
getRemove
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- The remove.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`
string remove = 3 [(.google.api.resource_reference) = { ... }
- Specified by:
getRemoveBytes
in interfaceKeywordPlanOperationOrBuilder
- Returns:
- The bytes for remove.
-
setRemove
public KeywordPlanOperation.Builder setRemove(java.lang.String value)
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`
string remove = 3 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The remove to set.- Returns:
- This builder for chaining.
-
clearRemove
public KeywordPlanOperation.Builder clearRemove()
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`
string remove = 3 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setRemoveBytes
public KeywordPlanOperation.Builder setRemoveBytes(com.google.protobuf.ByteString value)
Remove operation: A resource name for the removed keyword plan is expected in this format: `customers/{customer_id}/keywordPlans/{keyword_plan_id}`
string remove = 3 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for remove to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KeywordPlanOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
mergeUnknownFields
public final KeywordPlanOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeywordPlanOperation.Builder>
-
-