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.Builder
addAllColumns(Iterable<? extends Column> values)
The list of columns included in the report.Report.Builder
addColumns(int index, Column value)
The list of columns included in the report.Report.Builder
addColumns(int index, Column.Builder builderForValue)
The list of columns included in the report.Report.Builder
addColumns(Column value)
The list of columns included in the report.Report.Builder
addColumns(Column.Builder builderForValue)
The list of columns included in the report.Column.Builder
addColumnsBuilder()
The list of columns included in the report.Column.Builder
addColumnsBuilder(int index)
The list of columns included in the report.Report.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Report
build()
Report
buildPartial()
Report.Builder
clear()
Report.Builder
clearColumns()
The list of columns included in the report.Report.Builder
clearDescription()
A description of other aspects of the report, such as the products it supports.Report.Builder
clearDisplayName()
A human-readable name for this report.Report.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Report.Builder
clearName()
Required.Report.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Report.Builder
clone()
Column
getColumns(int index)
The list of columns included in the report.Column.Builder
getColumnsBuilder(int index)
The list of columns included in the report.List<Column.Builder>
getColumnsBuilderList()
The list of columns included in the report.int
getColumnsCount()
The list of columns included in the report.List<Column>
getColumnsList()
The list of columns included in the report.ColumnOrBuilder
getColumnsOrBuilder(int index)
The list of columns included in the report.List<? extends ColumnOrBuilder>
getColumnsOrBuilderList()
The list of columns included in the report.Report
getDefaultInstanceForType()
String
getDescription()
A description of other aspects of the report, such as the products it supports.com.google.protobuf.ByteString
getDescriptionBytes()
A description of other aspects of the report, such as the products it supports.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
A human-readable name for this report.com.google.protobuf.ByteString
getDisplayNameBytes()
A human-readable name for this report.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Report.Builder
mergeFrom(Report other)
Report.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Report.Builder
mergeFrom(com.google.protobuf.Message other)
Report.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Report.Builder
removeColumns(int index)
The list of columns included in the report.Report.Builder
setColumns(int index, Column value)
The list of columns included in the report.Report.Builder
setColumns(int index, Column.Builder builderForValue)
The list of columns included in the report.Report.Builder
setDescription(String value)
A description of other aspects of the report, such as the products it supports.Report.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of other aspects of the report, such as the products it supports.Report.Builder
setDisplayName(String value)
A human-readable name for this report.Report.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
A human-readable name for this report.Report.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Report.Builder
setName(String value)
Required.Report.Builder
setNameBytes(com.google.protobuf.ByteString value)
Required.Report.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Report.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
clear
public Report.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
getDefaultInstanceForType
public Report getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Report build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Report buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Report.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
setField
public Report.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
clearField
public Report.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
clearOneof
public Report.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
setRepeatedField
public Report.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
addRepeatedField
public Report.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
mergeFrom
public Report.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Report.Builder>
-
mergeFrom
public Report.Builder mergeFrom(Report other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in interfaceReportOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
A human-readable name for this report.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in 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:
getColumnsList
in 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:
getColumnsCount
in 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:
getColumns
in 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:
getColumnsOrBuilder
in 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:
getColumnsOrBuilderList
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
mergeUnknownFields
public final Report.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Report.Builder>
-
-