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.GeneratedMessageV3.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.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 typegoogle.cloud.channel.v1.Report
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Report.BuilderaddAllColumns(Iterable<? extends Column> values)The list of columns included in the report.Report.BuilderaddColumns(int index, Column value)The list of columns included in the report.Report.BuilderaddColumns(int index, Column.Builder builderForValue)The list of columns included in the report.Report.BuilderaddColumns(Column value)The list of columns included in the report.Report.BuilderaddColumns(Column.Builder builderForValue)The list of columns included in the report.Column.BuilderaddColumnsBuilder()The list of columns included in the report.Column.BuilderaddColumnsBuilder(int index)The list of columns included in the report.Report.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Reportbuild()ReportbuildPartial()Report.Builderclear()Report.BuilderclearColumns()The list of columns included in the report.Report.BuilderclearDescription()A description of other aspects of the report, such as the products it supports.Report.BuilderclearDisplayName()A human-readable name for this report.Report.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Report.BuilderclearName()Required.Report.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Report.Builderclone()ColumngetColumns(int index)The list of columns included in the report.Column.BuildergetColumnsBuilder(int index)The list of columns included in the report.List<Column.Builder>getColumnsBuilderList()The list of columns included in the report.intgetColumnsCount()The list of columns included in the report.List<Column>getColumnsList()The list of columns included in the report.ColumnOrBuildergetColumnsOrBuilder(int index)The list of columns included in the report.List<? extends ColumnOrBuilder>getColumnsOrBuilderList()The list of columns included in the report.ReportgetDefaultInstanceForType()StringgetDescription()A description of other aspects of the report, such as the products it supports.com.google.protobuf.ByteStringgetDescriptionBytes()A description of other aspects of the report, such as the products it supports.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()A human-readable name for this report.com.google.protobuf.ByteStringgetDisplayNameBytes()A human-readable name for this report.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Report.BuildermergeFrom(Report other)Report.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Report.BuildermergeFrom(com.google.protobuf.Message other)Report.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Report.BuilderremoveColumns(int index)The list of columns included in the report.Report.BuildersetColumns(int index, Column value)The list of columns included in the report.Report.BuildersetColumns(int index, Column.Builder builderForValue)The list of columns included in the report.Report.BuildersetDescription(String value)A description of other aspects of the report, such as the products it supports.Report.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A description of other aspects of the report, such as the products it supports.Report.BuildersetDisplayName(String value)A human-readable name for this report.Report.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)A human-readable name for this report.Report.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Report.BuildersetName(String value)Required.Report.BuildersetNameBytes(com.google.protobuf.ByteString value)Required.Report.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Report.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
clear
public Report.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Report.Builder>
-
getDefaultInstanceForType
public Report getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Report build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Report buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Report.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
setField
public Report.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
clearField
public Report.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
clearOneof
public Report.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
setRepeatedField
public Report.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
addRepeatedField
public Report.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
mergeFrom
public Report.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Report.Builder>
-
mergeFrom
public Report.Builder mergeFrom(Report other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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];- 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
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public Report.Builder setNameBytes(com.google.protobuf.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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String 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
public Report.Builder setDisplayName(String value)
A human-readable name for this report.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Report.Builder clearDisplayName()
A human-readable name for this report.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Report.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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
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;- 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
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;- Specified by:
getColumnsin interfaceReportOrBuilder
-
setColumns
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;
-
setColumns
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;
-
addColumns
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;
-
addColumns
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;
-
addColumns
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;
-
addColumns
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;
-
addAllColumns
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;
-
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;
-
removeColumns
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;
-
getColumnsBuilder
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;
-
getColumnsOrBuilder
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;- Specified by:
getColumnsOrBuilderin interfaceReportOrBuilder
-
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;- Specified by:
getColumnsOrBuilderListin interfaceReportOrBuilder
-
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;
-
addColumnsBuilder
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;
-
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;
-
getDescription
public String 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
public Report.Builder setDescription(String value)
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
public Report.Builder clearDescription()
A description of other aspects of the report, such as the products it supports.
string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Report.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final Report.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
mergeUnknownFields
public final Report.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
-