Class MutateAccountLinkRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MutateAccountLinkRequest.Builder>
-
- com.google.ads.googleads.v13.services.MutateAccountLinkRequest.Builder
-
- All Implemented Interfaces:
MutateAccountLinkRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MutateAccountLinkRequest
public static final class MutateAccountLinkRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MutateAccountLinkRequest.Builder> implements MutateAccountLinkRequestOrBuilder
Request message for [AccountLinkService.MutateAccountLink][google.ads.googleads.v13.services.AccountLinkService.MutateAccountLink].
Protobuf typegoogle.ads.googleads.v13.services.MutateAccountLinkRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutateAccountLinkRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MutateAccountLinkRequest
build()
MutateAccountLinkRequest
buildPartial()
MutateAccountLinkRequest.Builder
clear()
MutateAccountLinkRequest.Builder
clearCustomerId()
Required.MutateAccountLinkRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MutateAccountLinkRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MutateAccountLinkRequest.Builder
clearOperation()
Required.MutateAccountLinkRequest.Builder
clearPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors.MutateAccountLinkRequest.Builder
clearValidateOnly()
If true, the request is validated but not executed.MutateAccountLinkRequest.Builder
clone()
java.lang.String
getCustomerId()
Required.com.google.protobuf.ByteString
getCustomerIdBytes()
Required.MutateAccountLinkRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AccountLinkOperation
getOperation()
Required.AccountLinkOperation.Builder
getOperationBuilder()
Required.AccountLinkOperationOrBuilder
getOperationOrBuilder()
Required.boolean
getPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors.boolean
getValidateOnly()
If true, the request is validated but not executed.boolean
hasOperation()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MutateAccountLinkRequest.Builder
mergeFrom(MutateAccountLinkRequest other)
MutateAccountLinkRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MutateAccountLinkRequest.Builder
mergeFrom(com.google.protobuf.Message other)
MutateAccountLinkRequest.Builder
mergeOperation(AccountLinkOperation value)
Required.MutateAccountLinkRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MutateAccountLinkRequest.Builder
setCustomerId(java.lang.String value)
Required.MutateAccountLinkRequest.Builder
setCustomerIdBytes(com.google.protobuf.ByteString value)
Required.MutateAccountLinkRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MutateAccountLinkRequest.Builder
setOperation(AccountLinkOperation value)
Required.MutateAccountLinkRequest.Builder
setOperation(AccountLinkOperation.Builder builderForValue)
Required.MutateAccountLinkRequest.Builder
setPartialFailure(boolean value)
If true, successful operations will be carried out and invalid operations will return errors.MutateAccountLinkRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MutateAccountLinkRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MutateAccountLinkRequest.Builder
setValidateOnly(boolean value)
If true, the request is validated but not executed.-
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<MutateAccountLinkRequest.Builder>
-
clear
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
getDefaultInstanceForType
public MutateAccountLinkRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MutateAccountLinkRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MutateAccountLinkRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
setField
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
clearField
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
clearOneof
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
setRepeatedField
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
addRepeatedField
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
-
mergeFrom
public MutateAccountLinkRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MutateAccountLinkRequest.Builder>
-
mergeFrom
public MutateAccountLinkRequest.Builder mergeFrom(MutateAccountLinkRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAccountLinkRequest.Builder>
-
mergeFrom
public MutateAccountLinkRequest.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<MutateAccountLinkRequest.Builder>
- Throws:
java.io.IOException
-
getCustomerId
public java.lang.String getCustomerId()
Required. The ID of the customer being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCustomerId
in interfaceMutateAccountLinkRequestOrBuilder
- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()
Required. The ID of the customer being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCustomerIdBytes
in interfaceMutateAccountLinkRequestOrBuilder
- Returns:
- The bytes for customerId.
-
setCustomerId
public MutateAccountLinkRequest.Builder setCustomerId(java.lang.String value)
Required. The ID of the customer being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The customerId to set.- Returns:
- This builder for chaining.
-
clearCustomerId
public MutateAccountLinkRequest.Builder clearCustomerId()
Required. The ID of the customer being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setCustomerIdBytes
public MutateAccountLinkRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the customer being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for customerId to set.- Returns:
- This builder for chaining.
-
hasOperation
public boolean hasOperation()
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasOperation
in interfaceMutateAccountLinkRequestOrBuilder
- Returns:
- Whether the operation field is set.
-
getOperation
public AccountLinkOperation getOperation()
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperation
in interfaceMutateAccountLinkRequestOrBuilder
- Returns:
- The operation.
-
setOperation
public MutateAccountLinkRequest.Builder setOperation(AccountLinkOperation value)
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
-
setOperation
public MutateAccountLinkRequest.Builder setOperation(AccountLinkOperation.Builder builderForValue)
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergeOperation
public MutateAccountLinkRequest.Builder mergeOperation(AccountLinkOperation value)
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearOperation
public MutateAccountLinkRequest.Builder clearOperation()
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationBuilder
public AccountLinkOperation.Builder getOperationBuilder()
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationOrBuilder
public AccountLinkOperationOrBuilder getOperationOrBuilder()
Required. The operation to perform on the link.
.google.ads.googleads.v13.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOperationOrBuilder
in interfaceMutateAccountLinkRequestOrBuilder
-
getPartialFailure
public boolean getPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;
- Specified by:
getPartialFailure
in interfaceMutateAccountLinkRequestOrBuilder
- Returns:
- The partialFailure.
-
setPartialFailure
public MutateAccountLinkRequest.Builder setPartialFailure(boolean value)
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;
- Parameters:
value
- The partialFailure to set.- Returns:
- This builder for chaining.
-
clearPartialFailure
public MutateAccountLinkRequest.Builder clearPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;
- Returns:
- This builder for chaining.
-
getValidateOnly
public boolean getValidateOnly()
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 4;
- Specified by:
getValidateOnly
in interfaceMutateAccountLinkRequestOrBuilder
- Returns:
- The validateOnly.
-
setValidateOnly
public MutateAccountLinkRequest.Builder setValidateOnly(boolean value)
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 4;
- Parameters:
value
- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
public MutateAccountLinkRequest.Builder clearValidateOnly()
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MutateAccountLinkRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAccountLinkRequest.Builder>
-
mergeUnknownFields
public final MutateAccountLinkRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MutateAccountLinkRequest.Builder>
-
-