Class FetchReportResultsResponse.Builder

  • All Implemented Interfaces:
    FetchReportResultsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    FetchReportResultsResponse

    public static final class FetchReportResultsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder>
    implements FetchReportResultsResponseOrBuilder
     Response message for
     [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
     Contains a tabular representation of the report results.
     
    Protobuf type google.cloud.channel.v1.FetchReportResultsResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder>
      • getDefaultInstanceForType

        public FetchReportResultsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public FetchReportResultsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public FetchReportResultsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder>
      • mergeFrom

        public FetchReportResultsResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchReportResultsResponse.Builder>
        Throws:
        IOException
      • hasReportMetadata

        public boolean hasReportMetadata()
         The metadata for the report results (display name, columns, row count, and
         date ranges).
         
        .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
        Specified by:
        hasReportMetadata in interface FetchReportResultsResponseOrBuilder
        Returns:
        Whether the reportMetadata field is set.
      • mergeReportMetadata

        public FetchReportResultsResponse.Builder mergeReportMetadata​(ReportResultsMetadata value)
         The metadata for the report results (display name, columns, row count, and
         date ranges).
         
        .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      • clearReportMetadata

        public FetchReportResultsResponse.Builder clearReportMetadata()
         The metadata for the report results (display name, columns, row count, and
         date ranges).
         
        .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      • getReportMetadataBuilder

        public ReportResultsMetadata.Builder getReportMetadataBuilder()
         The metadata for the report results (display name, columns, row count, and
         date ranges).
         
        .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      • getRowsList

        public List<Row> getRowsList()
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
        Specified by:
        getRowsList in interface FetchReportResultsResponseOrBuilder
      • getRowsCount

        public int getRowsCount()
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
        Specified by:
        getRowsCount in interface FetchReportResultsResponseOrBuilder
      • getRows

        public Row getRows​(int index)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
        Specified by:
        getRows in interface FetchReportResultsResponseOrBuilder
      • setRows

        public FetchReportResultsResponse.Builder setRows​(int index,
                                                          Row value)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • setRows

        public FetchReportResultsResponse.Builder setRows​(int index,
                                                          Row.Builder builderForValue)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addRows

        public FetchReportResultsResponse.Builder addRows​(Row value)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addRows

        public FetchReportResultsResponse.Builder addRows​(int index,
                                                          Row value)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addRows

        public FetchReportResultsResponse.Builder addRows​(Row.Builder builderForValue)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addRows

        public FetchReportResultsResponse.Builder addRows​(int index,
                                                          Row.Builder builderForValue)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addAllRows

        public FetchReportResultsResponse.Builder addAllRows​(Iterable<? extends Row> values)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • clearRows

        public FetchReportResultsResponse.Builder clearRows()
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • removeRows

        public FetchReportResultsResponse.Builder removeRows​(int index)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • getRowsBuilder

        public Row.Builder getRowsBuilder​(int index)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addRowsBuilder

        public Row.Builder addRowsBuilder()
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • addRowsBuilder

        public Row.Builder addRowsBuilder​(int index)
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • getRowsBuilderList

        public List<Row.Builder> getRowsBuilderList()
         The report's lists of values. Each row follows the settings and ordering
         of the columns from `report_metadata`.
         
        repeated .google.cloud.channel.v1.Row rows = 2;
      • getNextPageToken

        public String getNextPageToken()
         Pass this token to
         [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 3;
        Specified by:
        getNextPageToken in interface FetchReportResultsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Pass this token to
         [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 3;
        Specified by:
        getNextPageTokenBytes in interface FetchReportResultsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public FetchReportResultsResponse.Builder setNextPageToken​(String value)
         Pass this token to
         [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 3;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public FetchReportResultsResponse.Builder clearNextPageToken()
         Pass this token to
         [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 3;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public FetchReportResultsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Pass this token to
         [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 3;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final FetchReportResultsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder>
      • mergeUnknownFields

        public final FetchReportResultsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder>