public final class Report extends GeneratedMessageV3 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
Static Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Report getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Report.Builder newBuilder()
Returns
newBuilder(Report prototype)
public static Report.Builder newBuilder(Report prototype)
Parameter
Name | Description |
prototype | Report
|
Returns
public static Report parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Report parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Report parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Report parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Report parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Report parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Report parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Report parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Report parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Report parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Report parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Report> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
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
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
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
Returns
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
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.
|
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()
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
getParserForType()
public Parser<Report> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Report.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Report.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Report.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions