Class Report.Builder (3.48.0)

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

The ID and description of a report that was used to generate report data. For example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.

Protobuf type google.cloud.channel.v1.Report

Implements

ReportOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllColumns(Iterable<? extends Column> values)

public Report.Builder addAllColumns(Iterable<? extends Column> values)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.Column>
Returns
Type Description
Report.Builder

addColumns(Column value)

public Report.Builder addColumns(Column value)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
value Column
Returns
Type Description
Report.Builder

addColumns(Column.Builder builderForValue)

public Report.Builder addColumns(Column.Builder builderForValue)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

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

addColumns(int index, Column value)

public Report.Builder addColumns(int index, Column value)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameters
Name Description
index int
value Column
Returns
Type Description
Report.Builder

addColumns(int index, Column.Builder builderForValue)

public Report.Builder addColumns(int index, Column.Builder builderForValue)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameters
Name Description
index int
builderForValue Column.Builder
Returns
Type Description
Report.Builder

addColumnsBuilder()

public Column.Builder addColumnsBuilder()

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Returns
Type Description
Column.Builder

addColumnsBuilder(int index)

public Column.Builder addColumnsBuilder(int index)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
index int
Returns
Type Description
Column.Builder

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

clearColumns()

public Report.Builder clearColumns()

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Returns
Type Description
Report.Builder

clearDescription()

public Report.Builder clearDescription()

A description of other aspects of the report, such as the products it supports.

string description = 4;

Returns
Type Description
Report.Builder

This builder for chaining.

clearDisplayName()

public Report.Builder clearDisplayName()

A human-readable name for this report.

string display_name = 2;

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

clearName()

public Report.Builder clearName()

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q).

Name uses the format: accounts/{account_id}/reports/{report_id}

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

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

clone()

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

getColumns(int index)

public Column getColumns(int index)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
index int
Returns
Type Description
Column

getColumnsBuilder(int index)

public Column.Builder getColumnsBuilder(int index)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
index int
Returns
Type Description
Column.Builder

getColumnsBuilderList()

public List<Column.Builder> getColumnsBuilderList()

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Returns
Type Description
List<Builder>

getColumnsCount()

public int getColumnsCount()

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Returns
Type Description
int

getColumnsList()

public List<Column> getColumnsList()

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Returns
Type Description
List<Column>

getColumnsOrBuilder(int index)

public ColumnOrBuilder getColumnsOrBuilder(int index)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnOrBuilder

getColumnsOrBuilderList()

public List<? extends ColumnOrBuilder> getColumnsOrBuilderList()

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.ColumnOrBuilder>

getDefaultInstanceForType()

public Report getDefaultInstanceForType()
Returns
Type Description
Report

getDescription()

public String getDescription()

A description of other aspects of the report, such as the products it supports.

string description = 4;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of other aspects of the report, such as the products it supports.

string description = 4;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

A human-readable name for this report.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this report.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q).

Name uses the format: accounts/{account_id}/reports/{report_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q).

Name uses the format: accounts/{account_id}/reports/{report_id}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeColumns(int index)

public Report.Builder removeColumns(int index)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameter
Name Description
index int
Returns
Type Description
Report.Builder

setColumns(int index, Column value)

public Report.Builder setColumns(int index, Column value)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameters
Name Description
index int
value Column
Returns
Type Description
Report.Builder

setColumns(int index, Column.Builder builderForValue)

public Report.Builder setColumns(int index, Column.Builder builderForValue)

The list of columns included in the report. This defines the schema of the report results.

repeated .google.cloud.channel.v1.Column columns = 3;

Parameters
Name Description
index int
builderForValue Column.Builder
Returns
Type Description
Report.Builder

setDescription(String value)

public Report.Builder setDescription(String value)

A description of other aspects of the report, such as the products it supports.

string description = 4;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Report.Builder setDescriptionBytes(ByteString value)

A description of other aspects of the report, such as the products it supports.

string description = 4;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Report.Builder

This builder for chaining.

setDisplayName(String value)

public Report.Builder setDisplayName(String value)

A human-readable name for this report.

string display_name = 2;

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)

A human-readable name for this report.

string display_name = 2;

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

setName(String value)

public Report.Builder setName(String value)

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q).

Name uses the format: accounts/{account_id}/reports/{report_id}

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

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)

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q).

Name uses the format: accounts/{account_id}/reports/{report_id}

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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