Class Report.Value.Builder (0.11.0)

public static final class Report.Value.Builder extends GeneratedMessageV3.Builder<Report.Value.Builder> implements Report.ValueOrBuilder

Represents a single value in a report.

Protobuf type google.ads.admanager.v1.Report.Value

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Report.Value build()
Returns
Type Description
Report.Value

buildPartial()

public Report.Value buildPartial()
Returns
Type Description
Report.Value

clear()

public Report.Value.Builder clear()
Returns
Type Description
Report.Value.Builder
Overrides

clearBoolValue()

public Report.Value.Builder clearBoolValue()

For boolean values.

bool bool_value = 4;

Returns
Type Description
Report.Value.Builder

This builder for chaining.

clearBytesValue()

public Report.Value.Builder clearBytesValue()

For bytes values.

bytes bytes_value = 8;

Returns
Type Description
Report.Value.Builder

This builder for chaining.

clearDoubleValue()

public Report.Value.Builder clearDoubleValue()

For double values.

double double_value = 2;

Returns
Type Description
Report.Value.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIntListValue()

public Report.Value.Builder clearIntListValue()

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Returns
Type Description
Report.Value.Builder

clearIntValue()

public Report.Value.Builder clearIntValue()

For integer values.

int64 int_value = 1;

Returns
Type Description
Report.Value.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStringListValue()

public Report.Value.Builder clearStringListValue()

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Returns
Type Description
Report.Value.Builder

clearStringValue()

public Report.Value.Builder clearStringValue()

For string values.

string string_value = 3;

Returns
Type Description
Report.Value.Builder

This builder for chaining.

clearValue()

public Report.Value.Builder clearValue()
Returns
Type Description
Report.Value.Builder

clone()

public Report.Value.Builder clone()
Returns
Type Description
Report.Value.Builder
Overrides

getBoolValue()

public boolean getBoolValue()

For boolean values.

bool bool_value = 4;

Returns
Type Description
boolean

The boolValue.

getBytesValue()

public ByteString getBytesValue()

For bytes values.

bytes bytes_value = 8;

Returns
Type Description
ByteString

The bytesValue.

getDefaultInstanceForType()

public Report.Value getDefaultInstanceForType()
Returns
Type Description
Report.Value

getDescriptorForType()

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

getDoubleValue()

public double getDoubleValue()

For double values.

double double_value = 2;

Returns
Type Description
double

The doubleValue.

getIntListValue()

public Report.Value.IntList getIntListValue()

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Returns
Type Description
Report.Value.IntList

The intListValue.

getIntListValueBuilder()

public Report.Value.IntList.Builder getIntListValueBuilder()

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Returns
Type Description
Report.Value.IntList.Builder

getIntListValueOrBuilder()

public Report.Value.IntListOrBuilder getIntListValueOrBuilder()

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Returns
Type Description
Report.Value.IntListOrBuilder

getIntValue()

public long getIntValue()

For integer values.

int64 int_value = 1;

Returns
Type Description
long

The intValue.

getStringListValue()

public Report.Value.StringList getStringListValue()

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Returns
Type Description
Report.Value.StringList

The stringListValue.

getStringListValueBuilder()

public Report.Value.StringList.Builder getStringListValueBuilder()

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Returns
Type Description
Report.Value.StringList.Builder

getStringListValueOrBuilder()

public Report.Value.StringListOrBuilder getStringListValueOrBuilder()

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Returns
Type Description
Report.Value.StringListOrBuilder

getStringValue()

public String getStringValue()

For string values.

string string_value = 3;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

For string values.

string string_value = 3;

Returns
Type Description
ByteString

The bytes for stringValue.

getValueCase()

public Report.Value.ValueCase getValueCase()
Returns
Type Description
Report.Value.ValueCase

hasBoolValue()

public boolean hasBoolValue()

For boolean values.

bool bool_value = 4;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasBytesValue()

public boolean hasBytesValue()

For bytes values.

bytes bytes_value = 8;

Returns
Type Description
boolean

Whether the bytesValue field is set.

hasDoubleValue()

public boolean hasDoubleValue()

For double values.

double double_value = 2;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasIntListValue()

public boolean hasIntListValue()

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Returns
Type Description
boolean

Whether the intListValue field is set.

hasIntValue()

public boolean hasIntValue()

For integer values.

int64 int_value = 1;

Returns
Type Description
boolean

Whether the intValue field is set.

hasStringListValue()

public boolean hasStringListValue()

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Returns
Type Description
boolean

Whether the stringListValue field is set.

hasStringValue()

public boolean hasStringValue()

For string values.

string string_value = 3;

Returns
Type Description
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Report.Value other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIntListValue(Report.Value.IntList value)

public Report.Value.Builder mergeIntListValue(Report.Value.IntList value)

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Parameter
Name Description
value Report.Value.IntList
Returns
Type Description
Report.Value.Builder

mergeStringListValue(Report.Value.StringList value)

public Report.Value.Builder mergeStringListValue(Report.Value.StringList value)

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Parameter
Name Description
value Report.Value.StringList
Returns
Type Description
Report.Value.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBoolValue(boolean value)

public Report.Value.Builder setBoolValue(boolean value)

For boolean values.

bool bool_value = 4;

Parameter
Name Description
value boolean

The boolValue to set.

Returns
Type Description
Report.Value.Builder

This builder for chaining.

setBytesValue(ByteString value)

public Report.Value.Builder setBytesValue(ByteString value)

For bytes values.

bytes bytes_value = 8;

Parameter
Name Description
value ByteString

The bytesValue to set.

Returns
Type Description
Report.Value.Builder

This builder for chaining.

setDoubleValue(double value)

public Report.Value.Builder setDoubleValue(double value)

For double values.

double double_value = 2;

Parameter
Name Description
value double

The doubleValue to set.

Returns
Type Description
Report.Value.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntListValue(Report.Value.IntList value)

public Report.Value.Builder setIntListValue(Report.Value.IntList value)

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Parameter
Name Description
value Report.Value.IntList
Returns
Type Description
Report.Value.Builder

setIntListValue(Report.Value.IntList.Builder builderForValue)

public Report.Value.Builder setIntListValue(Report.Value.IntList.Builder builderForValue)

For lists of integer values.

.google.ads.admanager.v1.Report.Value.IntList int_list_value = 6;

Parameter
Name Description
builderForValue Report.Value.IntList.Builder
Returns
Type Description
Report.Value.Builder

setIntValue(long value)

public Report.Value.Builder setIntValue(long value)

For integer values.

int64 int_value = 1;

Parameter
Name Description
value long

The intValue to set.

Returns
Type Description
Report.Value.Builder

This builder for chaining.

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

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

setStringListValue(Report.Value.StringList value)

public Report.Value.Builder setStringListValue(Report.Value.StringList value)

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Parameter
Name Description
value Report.Value.StringList
Returns
Type Description
Report.Value.Builder

setStringListValue(Report.Value.StringList.Builder builderForValue)

public Report.Value.Builder setStringListValue(Report.Value.StringList.Builder builderForValue)

For lists of string values.

.google.ads.admanager.v1.Report.Value.StringList string_list_value = 7;

Parameter
Name Description
builderForValue Report.Value.StringList.Builder
Returns
Type Description
Report.Value.Builder

setStringValue(String value)

public Report.Value.Builder setStringValue(String value)

For string values.

string string_value = 3;

Parameter
Name Description
value String

The stringValue to set.

Returns
Type Description
Report.Value.Builder

This builder for chaining.

setStringValueBytes(ByteString value)

public Report.Value.Builder setStringValueBytes(ByteString value)

For string values.

string string_value = 3;

Parameter
Name Description
value ByteString

The bytes for stringValue to set.

Returns
Type Description
Report.Value.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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