Class Report.Builder (0.13.0)

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

The Report resource.

Protobuf type google.ads.admanager.v1.Report

Implements

ReportOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Report build()
Returns
Type Description
Report

buildPartial()

public Report buildPartial()
Returns
Type Description
Report

clear()

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

clearCreateTime()

public Report.Builder clearCreateTime()

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

clearDisplayName()

public Report.Builder clearDisplayName()

Optional. Display name for the report.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Report.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLocale()

public Report.Builder clearLocale()

Output only. The locale of this report. Locale is set from the user's locale at the time of the request. Locale can not be modified.

string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

This builder for chaining.

clearName()

public Report.Builder clearName()

Identifier. The resource name of the report. Report resource name have the form: networks/{network_code}/reports/{report_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Report.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportDefinition()

public Report.Builder clearReportDefinition()

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Report.Builder

clearReportId()

public Report.Builder clearReportId()

Output only. Report ID.

int64 report_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

This builder for chaining.

clearScheduleOptions()

public Report.Builder clearScheduleOptions()

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Report.Builder

clearUpdateTime()

public Report.Builder clearUpdateTime()

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Report.Builder

clearVisibility()

public Report.Builder clearVisibility()

Optional. The visibility of a report.

.google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Report.Builder

This builder for chaining.

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Report getDefaultInstanceForType()
Returns
Type Description
Report

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. Display name for the report.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Display name for the report.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getLocale()

public String getLocale()

Output only. The locale of this report. Locale is set from the user's locale at the time of the request. Locale can not be modified.

string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The locale.

getLocaleBytes()

public ByteString getLocaleBytes()

Output only. The locale of this report. Locale is set from the user's locale at the time of the request. Locale can not be modified.

string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for locale.

getName()

public String getName()

Identifier. The resource name of the report. Report resource name have the form: networks/{network_code}/reports/{report_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the report. Report resource name have the form: networks/{network_code}/reports/{report_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getReportDefinition()

public ReportDefinition getReportDefinition()

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportDefinition

The reportDefinition.

getReportDefinitionBuilder()

public ReportDefinition.Builder getReportDefinitionBuilder()

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportDefinition.Builder

getReportDefinitionOrBuilder()

public ReportDefinitionOrBuilder getReportDefinitionOrBuilder()

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportDefinitionOrBuilder

getReportId()

public long getReportId()

Output only. Report ID.

int64 report_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The reportId.

getScheduleOptions()

public ScheduleOptions getScheduleOptions()

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduleOptions

The scheduleOptions.

getScheduleOptionsBuilder()

public ScheduleOptions.Builder getScheduleOptionsBuilder()

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduleOptions.Builder

getScheduleOptionsOrBuilder()

public ScheduleOptionsOrBuilder getScheduleOptionsOrBuilder()

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ScheduleOptionsOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVisibility()

public Report.Visibility getVisibility()

Optional. The visibility of a report.

.google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Report.Visibility

The visibility.

getVisibilityValue()

public int getVisibilityValue()

Optional. The visibility of a report.

.google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for visibility.

hasCreateTime()

public boolean hasCreateTime()

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasReportDefinition()

public boolean hasReportDefinition()

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reportDefinition field is set.

hasScheduleOptions()

public boolean hasScheduleOptions()

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scheduleOptions field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Report.Builder mergeCreateTime(Timestamp value)

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

mergeFrom(Report other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportDefinition(ReportDefinition value)

public Report.Builder mergeReportDefinition(ReportDefinition value)

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReportDefinition
Returns
Type Description
Report.Builder

mergeScheduleOptions(ScheduleOptions value)

public Report.Builder mergeScheduleOptions(ScheduleOptions value)

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ScheduleOptions
Returns
Type Description
Report.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Report.Builder mergeUpdateTime(Timestamp value)

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

setCreateTime(Timestamp value)

public Report.Builder setCreateTime(Timestamp value)

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Report.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The instant this report was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Report.Builder

setDisplayName(String value)

public Report.Builder setDisplayName(String value)

Optional. Display name for the report.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Report.Builder setDisplayNameBytes(ByteString value)

Optional. Display name for the report.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocale(String value)

public Report.Builder setLocale(String value)

Output only. The locale of this report. Locale is set from the user's locale at the time of the request. Locale can not be modified.

string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The locale to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setLocaleBytes(ByteString value)

public Report.Builder setLocaleBytes(ByteString value)

Output only. The locale of this report. Locale is set from the user's locale at the time of the request. Locale can not be modified.

string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for locale to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setName(String value)

public Report.Builder setName(String value)

Identifier. The resource name of the report. Report resource name have the form: networks/{network_code}/reports/{report_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Report.Builder setNameBytes(ByteString value)

Identifier. The resource name of the report. Report resource name have the form: networks/{network_code}/reports/{report_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Report.Builder

This builder for chaining.

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

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

setReportDefinition(ReportDefinition value)

public Report.Builder setReportDefinition(ReportDefinition value)

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReportDefinition
Returns
Type Description
Report.Builder

setReportDefinition(ReportDefinition.Builder builderForValue)

public Report.Builder setReportDefinition(ReportDefinition.Builder builderForValue)

Required. The report definition of the report.

.google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ReportDefinition.Builder
Returns
Type Description
Report.Builder

setReportId(long value)

public Report.Builder setReportId(long value)

Output only. Report ID.

int64 report_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The reportId to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setScheduleOptions(ScheduleOptions value)

public Report.Builder setScheduleOptions(ScheduleOptions value)

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ScheduleOptions
Returns
Type Description
Report.Builder

setScheduleOptions(ScheduleOptions.Builder builderForValue)

public Report.Builder setScheduleOptions(ScheduleOptions.Builder builderForValue)

Optional. The schedule options of this report.

.google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ScheduleOptions.Builder
Returns
Type Description
Report.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Report.Builder setUpdateTime(Timestamp value)

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Report.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Report.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The instant this report was last modified.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Report.Builder

setVisibility(Report.Visibility value)

public Report.Builder setVisibility(Report.Visibility value)

Optional. The visibility of a report.

.google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Report.Visibility

The visibility to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setVisibilityValue(int value)

public Report.Builder setVisibilityValue(int value)

Optional. The visibility of a report.

.google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for visibility to set.

Returns
Type Description
Report.Builder

This builder for chaining.