Class CustomInterestOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
com.google.ads.googleads.v18.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,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 type
google.ads.googleads.v18.services.CustomInterestOperation-
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 custom interest.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Update operation: The custom interest is expected to have a valid resource name.FieldMask that determines which resource fields are modified in an update.clone()Create operation: No resource name is expected for the new custom interest.Create operation: No resource name is expected for the new custom interest.Create operation: No resource name is expected for the new custom interest.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorUpdate operation: The custom interest is expected to have a valid resource name.Update operation: The custom interest is expected to have a valid resource name.com.google.protobuf.FieldMaskFieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.BuilderFieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuilderFieldMask that determines which resource fields are modified in an update.Update operation: The custom interest is expected to have a valid resource name.booleanCreate operation: No resource name is expected for the new custom interest.booleanUpdate operation: The custom interest is expected to have a valid resource name.booleanFieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreate(CustomInterest value) Create operation: No resource name is expected for the new custom interest.mergeFrom(CustomInterestOperation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdate(CustomInterest value) Update operation: The custom interest is expected to have a valid resource name.mergeUpdateMask(com.google.protobuf.FieldMask value) FieldMask that determines which resource fields are modified in an update.setCreate(CustomInterest value) Create operation: No resource name is expected for the new custom interest.setCreate(CustomInterest.Builder builderForValue) Create operation: No resource name is expected for the new custom interest.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdate(CustomInterest value) Update operation: The custom interest is expected to have a valid resource name.setUpdate(CustomInterest.Builder builderForValue) Update operation: The custom interest is expected to have a valid resource name.setUpdateMask(com.google.protobuf.FieldMask value) FieldMask that determines which resource fields are modified in an update.setUpdateMask(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, 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<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
- 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<CustomInterestOperation.Builder>
-
setField
public CustomInterestOperation.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInterestOperation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomInterestOperation.Builder>
-
mergeFrom
-
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 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:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceCustomInterestOperationOrBuilder
-
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
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
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
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.v18.resources.CustomInterest create = 1;- Specified by:
hasCreatein interfaceCustomInterestOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.resources.CustomInterest create = 1;- Specified by:
getCreatein interfaceCustomInterestOperationOrBuilder- Returns:
- The create.
-
setCreate
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.resources.CustomInterest create = 1; -
setCreate
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.resources.CustomInterest create = 1; -
mergeCreate
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.resources.CustomInterest create = 1; -
clearCreate
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.resources.CustomInterest create = 1; -
getCreateBuilder
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.resources.CustomInterest create = 1; -
getCreateOrBuilder
Create operation: No resource name is expected for the new custom interest.
.google.ads.googleads.v18.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.v18.resources.CustomInterest update = 2;- Specified by:
hasUpdatein interfaceCustomInterestOperationOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomInterest update = 2;- Specified by:
getUpdatein interfaceCustomInterestOperationOrBuilder- Returns:
- The update.
-
setUpdate
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomInterest update = 2; -
setUpdate
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomInterest update = 2; -
mergeUpdate
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomInterest update = 2; -
clearUpdate
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomInterest update = 2; -
getUpdateBuilder
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomInterest update = 2; -
getUpdateOrBuilder
Update operation: The custom interest is expected to have a valid resource name.
.google.ads.googleads.v18.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>
-