Class TrafficSource.Builder (0.12.0)

public static final class TrafficSource.Builder extends GeneratedMessageV3.Builder<TrafficSource.Builder> implements TrafficSourceOrBuilder

Traffic source of impressions in the Competitive visibility report.

Protobuf type google.shopping.merchant.reports.v1beta.TrafficSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrafficSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TrafficSource.Builder
Overrides

build()

public TrafficSource build()
Returns
TypeDescription
TrafficSource

buildPartial()

public TrafficSource buildPartial()
Returns
TypeDescription
TrafficSource

clear()

public TrafficSource.Builder clear()
Returns
TypeDescription
TrafficSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrafficSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TrafficSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TrafficSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TrafficSource.Builder
Overrides

clone()

public TrafficSource.Builder clone()
Returns
TypeDescription
TrafficSource.Builder
Overrides

getDefaultInstanceForType()

public TrafficSource getDefaultInstanceForType()
Returns
TypeDescription
TrafficSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrafficSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrafficSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TrafficSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TrafficSource.Builder
Overrides

mergeFrom(TrafficSource other)

public TrafficSource.Builder mergeFrom(TrafficSource other)
Parameter
NameDescription
otherTrafficSource
Returns
TypeDescription
TrafficSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrafficSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TrafficSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TrafficSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TrafficSource.Builder
Overrides

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

public TrafficSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TrafficSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TrafficSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TrafficSource.Builder
Overrides