Class CustomInterestOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
- com.google.ads.googleads.v10.services.CustomInterestOperation.Builder
-
- All Implemented Interfaces:
CustomInterestOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CustomInterestOperation
public static final class CustomInterestOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder> implements CustomInterestOperationOrBuilder
A single operation (create, update) on a custom interest.
Protobuf typegoogle.ads.googleads.v10.services.CustomInterestOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomInterestOperation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomInterestOperationbuild()CustomInterestOperationbuildPartial()CustomInterestOperation.Builderclear()CustomInterestOperation.BuilderclearCreate()Create operation: No resource name is expected for the new custom interest.CustomInterestOperation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CustomInterestOperation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CustomInterestOperation.BuilderclearOperation()CustomInterestOperation.BuilderclearUpdate()Update operation: The custom interest is expected to have a valid resource name.CustomInterestOperation.BuilderclearUpdateMask()FieldMask that determines which resource fields are modified in an update.CustomInterestOperation.Builderclone()CustomInterestgetCreate()Create operation: No resource name is expected for the new custom interest.CustomInterest.BuildergetCreateBuilder()Create operation: No resource name is expected for the new custom interest.CustomInterestOrBuildergetCreateOrBuilder()Create operation: No resource name is expected for the new custom interest.CustomInterestOperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CustomInterestOperation.OperationCasegetOperationCase()CustomInterestgetUpdate()Update operation: The custom interest is expected to have a valid resource name.CustomInterest.BuildergetUpdateBuilder()Update operation: The custom interest is expected to have a valid resource name.com.google.protobuf.FieldMaskgetUpdateMask()FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.BuildergetUpdateMaskBuilder()FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()FieldMask that determines which resource fields are modified in an update.CustomInterestOrBuildergetUpdateOrBuilder()Update operation: The custom interest is expected to have a valid resource name.booleanhasCreate()Create operation: No resource name is expected for the new custom interest.booleanhasUpdate()Update operation: The custom interest is expected to have a valid resource name.booleanhasUpdateMask()FieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CustomInterestOperation.BuildermergeCreate(CustomInterest value)Create operation: No resource name is expected for the new custom interest.CustomInterestOperation.BuildermergeFrom(CustomInterestOperation other)CustomInterestOperation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CustomInterestOperation.BuildermergeFrom(com.google.protobuf.Message other)CustomInterestOperation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomInterestOperation.BuildermergeUpdate(CustomInterest value)Update operation: The custom interest is expected to have a valid resource name.CustomInterestOperation.BuildermergeUpdateMask(com.google.protobuf.FieldMask value)FieldMask that determines which resource fields are modified in an update.CustomInterestOperation.BuildersetCreate(CustomInterest value)Create operation: No resource name is expected for the new custom interest.CustomInterestOperation.BuildersetCreate(CustomInterest.Builder builderForValue)Create operation: No resource name is expected for the new custom interest.CustomInterestOperation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomInterestOperation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CustomInterestOperation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomInterestOperation.BuildersetUpdate(CustomInterest value)Update operation: The custom interest is expected to have a valid resource name.CustomInterestOperation.BuildersetUpdate(CustomInterest.Builder builderForValue)Update operation: The custom interest is expected to have a valid resource name.CustomInterestOperation.BuildersetUpdateMask(com.google.protobuf.FieldMask value)FieldMask that determines which resource fields are modified in an update.CustomInterestOperation.BuildersetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<CustomInterestOperation.Builder>
-
clear
public CustomInterestOperation.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<CustomInterestOperation.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<CustomInterestOperation.Builder>
-
getDefaultInstanceForType
public CustomInterestOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomInterestOperation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomInterestOperation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomInterestOperation.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<CustomInterestOperation.Builder>
-
setField
public CustomInterestOperation.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<CustomInterestOperation.Builder>
-
clearField
public CustomInterestOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
clearOneof
public CustomInterestOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
setRepeatedField
public CustomInterestOperation.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<CustomInterestOperation.Builder>
-
addRepeatedField
public CustomInterestOperation.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<CustomInterestOperation.Builder>
-
mergeFrom
public CustomInterestOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomInterestOperation.Builder>
-
mergeFrom
public CustomInterestOperation.Builder mergeFrom(CustomInterestOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
mergeFrom
public CustomInterestOperation.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<CustomInterestOperation.Builder>- Throws:
java.io.IOException
-
getOperationCase
public CustomInterestOperation.OperationCase getOperationCase()
- Specified by:
getOperationCasein interfaceCustomInterestOperationOrBuilder
-
clearOperation
public CustomInterestOperation.Builder 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 interfaceCustomInterestOperationOrBuilder- 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 interfaceCustomInterestOperationOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public CustomInterestOperation.Builder setUpdateMask(com.google.protobuf.FieldMask value)
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;
-
setUpdateMask
public CustomInterestOperation.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
public CustomInterestOperation.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;
-
clearUpdateMask
public CustomInterestOperation.Builder 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 interfaceCustomInterestOperationOrBuilder
-
hasCreate
public boolean hasCreate()
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;- Specified by:
hasCreatein interfaceCustomInterestOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
public CustomInterest getCreate()
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;- Specified by:
getCreatein interfaceCustomInterestOperationOrBuilder- Returns:
- The create.
-
setCreate
public CustomInterestOperation.Builder setCreate(CustomInterest value)
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;
-
setCreate
public CustomInterestOperation.Builder setCreate(CustomInterest.Builder builderForValue)
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;
-
mergeCreate
public CustomInterestOperation.Builder mergeCreate(CustomInterest value)
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;
-
clearCreate
public CustomInterestOperation.Builder clearCreate()
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;
-
getCreateBuilder
public CustomInterest.Builder getCreateBuilder()
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;
-
getCreateOrBuilder
public CustomInterestOrBuilder getCreateOrBuilder()
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v10.resources.CustomInterest create = 1;- Specified by:
getCreateOrBuilderin interfaceCustomInterestOperationOrBuilder
-
hasUpdate
public boolean hasUpdate()
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;- Specified by:
hasUpdatein interfaceCustomInterestOperationOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
public CustomInterest getUpdate()
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;- Specified by:
getUpdatein interfaceCustomInterestOperationOrBuilder- Returns:
- The update.
-
setUpdate
public CustomInterestOperation.Builder setUpdate(CustomInterest value)
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;
-
setUpdate
public CustomInterestOperation.Builder setUpdate(CustomInterest.Builder builderForValue)
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;
-
mergeUpdate
public CustomInterestOperation.Builder mergeUpdate(CustomInterest value)
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;
-
clearUpdate
public CustomInterestOperation.Builder clearUpdate()
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;
-
getUpdateBuilder
public CustomInterest.Builder getUpdateBuilder()
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;
-
getUpdateOrBuilder
public CustomInterestOrBuilder getUpdateOrBuilder()
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v10.resources.CustomInterest update = 2;- Specified by:
getUpdateOrBuilderin interfaceCustomInterestOperationOrBuilder
-
setUnknownFields
public final CustomInterestOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
mergeUnknownFields
public final CustomInterestOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
-