Class Report.Builder (3.12.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, "GCP 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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.Column>
Returns
TypeDescription
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
NameDescription
valueColumn
Returns
TypeDescription
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
NameDescription
builderForValueColumn.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueColumn
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumn.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Column.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Report build()
Returns
TypeDescription
Report

buildPartial()

public Report buildPartial()
Returns
TypeDescription
Report

clear()

public Report.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Report.Builder

This builder for chaining.

clearDisplayName()

public Report.Builder clearDisplayName()

A human-readable name for this report.

string display_name = 2;

Returns
TypeDescription
Report.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Report.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Report.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Report.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.channel.v1.ColumnOrBuilder>

getDefaultInstanceForType()

public Report getDefaultInstanceForType()
Returns
TypeDescription
Report

getDescription()

public String getDescription()

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

string description = 4;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

A human-readable name for this report.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A human-readable name for this report.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Report other)

public Report.Builder mergeFrom(Report other)
Parameter
NameDescription
otherReport
Returns
TypeDescription
Report.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Report.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueColumn
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumn.Builder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Report.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Report.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Report.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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