Class CreateConversionSourceRequest.Builder (0.12.0)

public static final class CreateConversionSourceRequest.Builder extends GeneratedMessageV3.Builder<CreateConversionSourceRequest.Builder> implements CreateConversionSourceRequestOrBuilder

Request message for the CreateConversionSource method.

Protobuf type google.shopping.merchant.conversions.v1beta.CreateConversionSourceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionSourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

build()

public CreateConversionSourceRequest build()
Returns
Type Description
CreateConversionSourceRequest

buildPartial()

public CreateConversionSourceRequest buildPartial()
Returns
Type Description
CreateConversionSourceRequest

clear()

public CreateConversionSourceRequest.Builder clear()
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

clearConversionSource()

public CreateConversionSourceRequest.Builder clearConversionSource()

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateConversionSourceRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateConversionSourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversionSourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

clearParent()

public CreateConversionSourceRequest.Builder clearParent()

Required. The merchant account that will own the new conversion source. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateConversionSourceRequest.Builder

This builder for chaining.

clone()

public CreateConversionSourceRequest.Builder clone()
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

getConversionSource()

public ConversionSource getConversionSource()

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionSource

The conversionSource.

getConversionSourceBuilder()

public ConversionSource.Builder getConversionSourceBuilder()

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionSource.Builder

getConversionSourceOrBuilder()

public ConversionSourceOrBuilder getConversionSourceOrBuilder()

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionSourceOrBuilder

getDefaultInstanceForType()

public CreateConversionSourceRequest getDefaultInstanceForType()
Returns
Type Description
CreateConversionSourceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The merchant account that will own the new conversion source. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The merchant account that will own the new conversion source. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasConversionSource()

public boolean hasConversionSource()

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversionSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversionSource(ConversionSource value)

public CreateConversionSourceRequest.Builder mergeConversionSource(ConversionSource value)

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversionSource
Returns
Type Description
CreateConversionSourceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConversionSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateConversionSourceRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

mergeFrom(CreateConversionSourceRequest other)

public CreateConversionSourceRequest.Builder mergeFrom(CreateConversionSourceRequest other)
Parameter
Name Description
other CreateConversionSourceRequest
Returns
Type Description
CreateConversionSourceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionSourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

setConversionSource(ConversionSource value)

public CreateConversionSourceRequest.Builder setConversionSource(ConversionSource value)

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversionSource
Returns
Type Description
CreateConversionSourceRequest.Builder

setConversionSource(ConversionSource.Builder builderForValue)

public CreateConversionSourceRequest.Builder setConversionSource(ConversionSource.Builder builderForValue)

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

.google.shopping.merchant.conversions.v1beta.ConversionSource conversion_source = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConversionSource.Builder
Returns
Type Description
CreateConversionSourceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionSourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

setParent(String value)

public CreateConversionSourceRequest.Builder setParent(String value)

Required. The merchant account that will own the new conversion source. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateConversionSourceRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateConversionSourceRequest.Builder setParentBytes(ByteString value)

Required. The merchant account that will own the new conversion source. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateConversionSourceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateConversionSourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionSourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConversionSourceRequest.Builder
Overrides