Class CustomerLifecycleGoalOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
- com.google.ads.googleads.v15.services.CustomerLifecycleGoalOperation.Builder
-
- All Implemented Interfaces:
CustomerLifecycleGoalOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CustomerLifecycleGoalOperation
public static final class CustomerLifecycleGoalOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder> implements CustomerLifecycleGoalOperationOrBuilder
A single operation on a customer lifecycle goal.
Protobuf typegoogle.ads.googleads.v15.services.CustomerLifecycleGoalOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerLifecycleGoalOperation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomerLifecycleGoalOperationbuild()CustomerLifecycleGoalOperationbuildPartial()CustomerLifecycleGoalOperation.Builderclear()CustomerLifecycleGoalOperation.BuilderclearCreate()Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoalOperation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CustomerLifecycleGoalOperation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CustomerLifecycleGoalOperation.BuilderclearOperation()CustomerLifecycleGoalOperation.BuilderclearUpdateMask()Optional.CustomerLifecycleGoalOperation.Builderclone()CustomerLifecycleGoalgetCreate()Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoal.BuildergetCreateBuilder()Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoalOrBuildergetCreateOrBuilder()Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoalOperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CustomerLifecycleGoalOperation.OperationCasegetOperationCase()com.google.protobuf.FieldMaskgetUpdateMask()Optional.com.google.protobuf.FieldMask.BuildergetUpdateMaskBuilder()Optional.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()Optional.booleanhasCreate()Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.booleanhasUpdateMask()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CustomerLifecycleGoalOperation.BuildermergeCreate(CustomerLifecycleGoal value)Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoalOperation.BuildermergeFrom(CustomerLifecycleGoalOperation other)CustomerLifecycleGoalOperation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CustomerLifecycleGoalOperation.BuildermergeFrom(com.google.protobuf.Message other)CustomerLifecycleGoalOperation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomerLifecycleGoalOperation.BuildermergeUpdateMask(com.google.protobuf.FieldMask value)Optional.CustomerLifecycleGoalOperation.BuildersetCreate(CustomerLifecycleGoal value)Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoalOperation.BuildersetCreate(CustomerLifecycleGoal.Builder builderForValue)Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal.CustomerLifecycleGoalOperation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomerLifecycleGoalOperation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CustomerLifecycleGoalOperation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomerLifecycleGoalOperation.BuildersetUpdateMask(com.google.protobuf.FieldMask value)Optional.CustomerLifecycleGoalOperation.BuildersetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)Optional.-
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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
clear
public CustomerLifecycleGoalOperation.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<CustomerLifecycleGoalOperation.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<CustomerLifecycleGoalOperation.Builder>
-
getDefaultInstanceForType
public CustomerLifecycleGoalOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomerLifecycleGoalOperation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomerLifecycleGoalOperation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomerLifecycleGoalOperation.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<CustomerLifecycleGoalOperation.Builder>
-
setField
public CustomerLifecycleGoalOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
clearField
public CustomerLifecycleGoalOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
clearOneof
public CustomerLifecycleGoalOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
setRepeatedField
public CustomerLifecycleGoalOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
addRepeatedField
public CustomerLifecycleGoalOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
mergeFrom
public CustomerLifecycleGoalOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerLifecycleGoalOperation.Builder>
-
mergeFrom
public CustomerLifecycleGoalOperation.Builder mergeFrom(CustomerLifecycleGoalOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
mergeFrom
public CustomerLifecycleGoalOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerLifecycleGoalOperation.Builder>- Throws:
java.io.IOException
-
getOperationCase
public CustomerLifecycleGoalOperation.OperationCase getOperationCase()
- Specified by:
getOperationCasein interfaceCustomerLifecycleGoalOperationOrBuilder
-
clearOperation
public CustomerLifecycleGoalOperation.Builder clearOperation()
-
hasUpdateMask
public boolean hasUpdateMask()
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUpdateMaskin interfaceCustomerLifecycleGoalOperationOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpdateMaskin interfaceCustomerLifecycleGoalOperationOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public CustomerLifecycleGoalOperation.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
setUpdateMask
public CustomerLifecycleGoalOperation.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
mergeUpdateMask
public CustomerLifecycleGoalOperation.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
clearUpdateMask
public CustomerLifecycleGoalOperation.Builder clearUpdateMask()
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpdateMaskOrBuilderin interfaceCustomerLifecycleGoalOperationOrBuilder
-
hasCreate
public boolean hasCreate()
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;- Specified by:
hasCreatein interfaceCustomerLifecycleGoalOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
public CustomerLifecycleGoal getCreate()
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;- Specified by:
getCreatein interfaceCustomerLifecycleGoalOperationOrBuilder- Returns:
- The create.
-
setCreate
public CustomerLifecycleGoalOperation.Builder setCreate(CustomerLifecycleGoal value)
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
-
setCreate
public CustomerLifecycleGoalOperation.Builder setCreate(CustomerLifecycleGoal.Builder builderForValue)
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
-
mergeCreate
public CustomerLifecycleGoalOperation.Builder mergeCreate(CustomerLifecycleGoal value)
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
-
clearCreate
public CustomerLifecycleGoalOperation.Builder clearCreate()
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
-
getCreateBuilder
public CustomerLifecycleGoal.Builder getCreateBuilder()
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;
-
getCreateOrBuilder
public CustomerLifecycleGoalOrBuilder getCreateOrBuilder()
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal.
.google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1;- Specified by:
getCreateOrBuilderin interfaceCustomerLifecycleGoalOperationOrBuilder
-
setUnknownFields
public final CustomerLifecycleGoalOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
mergeUnknownFields
public final CustomerLifecycleGoalOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLifecycleGoalOperation.Builder>
-
-