Class CustomerLifecycleGoal.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomerLifecycleGoal.Builder>
com.google.ads.googleads.v22.resources.CustomerLifecycleGoal.Builder
- All Implemented Interfaces:
CustomerLifecycleGoalOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomerLifecycleGoal
public static final class CustomerLifecycleGoal.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CustomerLifecycleGoal.Builder>
implements CustomerLifecycleGoalOrBuilder
Account level customer lifecycle goal settings.Protobuf type
google.ads.googleads.v22.resources.CustomerLifecycleGoal-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Immutable.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Immutable.com.google.protobuf.ByteStringImmutable.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(CustomerLifecycleGoal other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setOwnerCustomer(String value) Output only.setOwnerCustomerBytes(com.google.protobuf.ByteString value) Output only.setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.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<CustomerLifecycleGoal.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<CustomerLifecycleGoal.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<CustomerLifecycleGoal.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<CustomerLifecycleGoal.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CustomerLifecycleGoal.Builder>
-
mergeFrom
public CustomerLifecycleGoal.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<CustomerLifecycleGoal.Builder>- Throws:
IOException
-
getResourceName
Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceCustomerLifecycleGoalOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceCustomerLifecycleGoalOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasCustomerAcquisitionGoalValueSettings
public boolean hasCustomerAcquisitionGoalValueSettings()Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomerAcquisitionGoalValueSettingsin interfaceCustomerLifecycleGoalOrBuilder- Returns:
- Whether the customerAcquisitionGoalValueSettings field is set.
-
getCustomerAcquisitionGoalValueSettings
Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomerAcquisitionGoalValueSettingsin interfaceCustomerLifecycleGoalOrBuilder- Returns:
- The customerAcquisitionGoalValueSettings.
-
setCustomerAcquisitionGoalValueSettings
public CustomerLifecycleGoal.Builder setCustomerAcquisitionGoalValueSettings(LifecycleGoalValueSettings value) Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCustomerAcquisitionGoalValueSettings
public CustomerLifecycleGoal.Builder setCustomerAcquisitionGoalValueSettings(LifecycleGoalValueSettings.Builder builderForValue) Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCustomerAcquisitionGoalValueSettings
public CustomerLifecycleGoal.Builder mergeCustomerAcquisitionGoalValueSettings(LifecycleGoalValueSettings value) Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCustomerAcquisitionGoalValueSettings
Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomerAcquisitionGoalValueSettingsBuilder
Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomerAcquisitionGoalValueSettingsOrBuilder
Output only. Customer acquisition goal customer level value settings.
.google.ads.googleads.v22.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomerAcquisitionGoalValueSettingsOrBuilderin interfaceCustomerLifecycleGoalOrBuilder
-
getOwnerCustomer
Output only. The resource name of the customer which owns the lifecycle goal.
string owner_customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getOwnerCustomerin interfaceCustomerLifecycleGoalOrBuilder- Returns:
- The ownerCustomer.
-
getOwnerCustomerBytes
public com.google.protobuf.ByteString getOwnerCustomerBytes()Output only. The resource name of the customer which owns the lifecycle goal.
string owner_customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getOwnerCustomerBytesin interfaceCustomerLifecycleGoalOrBuilder- Returns:
- The bytes for ownerCustomer.
-
setOwnerCustomer
Output only. The resource name of the customer which owns the lifecycle goal.
string owner_customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The ownerCustomer to set.- Returns:
- This builder for chaining.
-
clearOwnerCustomer
Output only. The resource name of the customer which owns the lifecycle goal.
string owner_customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setOwnerCustomerBytes
Output only. The resource name of the customer which owns the lifecycle goal.
string owner_customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for ownerCustomer to set.- Returns:
- This builder for chaining.
-