Class Report (3.31.0)

public final class Report extends GeneratedMessageV3 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 Fields

COLUMNS_FIELD_NUMBER

public static final int COLUMNS_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Report getDefaultInstance()
Returns
TypeDescription
Report

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Report.Builder newBuilder()
Returns
TypeDescription
Report.Builder

newBuilder(Report prototype)

public static Report.Builder newBuilder(Report prototype)
Parameter
NameDescription
prototypeReport
Returns
TypeDescription
Report.Builder

parseDelimitedFrom(InputStream input)

public static Report parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Report
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Report parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Report parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Report
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Report parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Report parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Report
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Report parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Report parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Report
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Report parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Report parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Report
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Report parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Report parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Report
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Report parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Report
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Report> parser()
Returns
TypeDescription
Parser<Report>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

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.

getParserForType()

public Parser<Report> getParserForType()
Returns
TypeDescription
Parser<Report>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Report.Builder newBuilderForType()
Returns
TypeDescription
Report.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Report.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Report.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Report.Builder toBuilder()
Returns
TypeDescription
Report.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException