Package com.google.cloud.channel.v1
Class Report.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Report.Builder>
com.google.cloud.channel.v1.Report.Builder
- All Implemented Interfaces:
ReportOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Report
public static final class Report.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumns(Iterable<? extends Column> values) The list of columns included in the report.addColumns(int index, Column value) The list of columns included in the report.addColumns(int index, Column.Builder builderForValue) The list of columns included in the report.addColumns(Column value) The list of columns included in the report.addColumns(Column.Builder builderForValue) The list of columns included in the report.The list of columns included in the report.addColumnsBuilder(int index) The list of columns included in the report.build()clear()The list of columns included in the report.A description of other aspects of the report, such as the products it supports.A human-readable name for this report.Required.getColumns(int index) The list of columns included in the report.getColumnsBuilder(int index) The list of columns included in the report.The list of columns included in the report.intThe list of columns included in the report.The list of columns included in the report.getColumnsOrBuilder(int index) The list of columns included in the report.List<? extends ColumnOrBuilder>The list of columns included in the report.A description of other aspects of the report, such as the products it supports.com.google.protobuf.ByteStringA description of other aspects of the report, such as the products it supports.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA human-readable name for this report.com.google.protobuf.ByteStringA human-readable name for this report.getName()Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeColumns(int index) The list of columns included in the report.setColumns(int index, Column value) The list of columns included in the report.setColumns(int index, Column.Builder builderForValue) The list of columns included in the report.setDescription(String value) A description of other aspects of the report, such as the products it supports.setDescriptionBytes(com.google.protobuf.ByteString value) A description of other aspects of the report, such as the products it supports.setDisplayName(String value) A human-readable name for this report.setDisplayNameBytes(com.google.protobuf.ByteString value) A human-readable name for this report.Required.setNameBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Report.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Report.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Report.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Report.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Report.Builder>
-
mergeFrom
public Report.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Report.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceReportOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceReportOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
A human-readable name for this report.
string display_name = 2;- Specified by:
getDisplayNamein interfaceReportOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()A human-readable name for this report.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceReportOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
A human-readable name for this report.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
A human-readable name for this report.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
A human-readable name for this report.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getColumnsListin interfaceReportOrBuilder
-
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;- Specified by:
getColumnsCountin interfaceReportOrBuilder
-
getColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3;- Specified by:
getColumnsin interfaceReportOrBuilder
-
setColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
setColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
addColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
addColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
addColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
addColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
addAllColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
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; -
removeColumns
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
getColumnsBuilder
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3; -
getColumnsOrBuilder
The list of columns included in the report. This defines the schema of the report results.
repeated .google.cloud.channel.v1.Column columns = 3;- Specified by:
getColumnsOrBuilderin interfaceReportOrBuilder
-
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;- Specified by:
getColumnsOrBuilderListin interfaceReportOrBuilder
-
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; -
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; -
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; -
getDescription
A description of other aspects of the report, such as the products it supports.
string description = 4;- Specified by:
getDescriptionin interfaceReportOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description of other aspects of the report, such as the products it supports.
string description = 4;- Specified by:
getDescriptionBytesin interfaceReportOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description of other aspects of the report, such as the products it supports.
string description = 4;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description of other aspects of the report, such as the products it supports.
string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description of other aspects of the report, such as the products it supports.
string description = 4;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-