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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TrafficSource.BuilderImplements
TrafficSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TrafficSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
build()
public TrafficSource build()
Returns | |
---|---|
Type | Description |
TrafficSource |
buildPartial()
public TrafficSource buildPartial()
Returns | |
---|---|
Type | Description |
TrafficSource |
clear()
public TrafficSource.Builder clear()
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
clearField(Descriptors.FieldDescriptor field)
public TrafficSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TrafficSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
clone()
public TrafficSource.Builder clone()
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
getDefaultInstanceForType()
public TrafficSource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TrafficSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TrafficSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TrafficSource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
mergeFrom(TrafficSource other)
public TrafficSource.Builder mergeFrom(TrafficSource other)
Parameter | |
---|---|
Name | Description |
other |
TrafficSource |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TrafficSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TrafficSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TrafficSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TrafficSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TrafficSource.Builder |