Class FetchReportResultsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchReportResultsResponse.Builder>
com.google.cloud.channel.v1.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.GeneratedMessage.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 Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public FetchReportResultsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchReportResultsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.
    • getReportMetadata

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

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

      public FetchReportResultsResponse.Builder setReportMetadata(ReportResultsMetadata.Builder builderForValue)
       The metadata for the report results (display name, columns, row count, and
       date ranges).
       
      .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
    • 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;
    • getReportMetadataOrBuilder

      public ReportResultsMetadataOrBuilder getReportMetadataOrBuilder()
       The metadata for the report results (display name, columns, row count, and
       date ranges).
       
      .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      Specified by:
      getReportMetadataOrBuilder in interface FetchReportResultsResponseOrBuilder
    • 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

       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;
    • getRowsOrBuilder

      public RowOrBuilder getRowsOrBuilder(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:
      getRowsOrBuilder in interface FetchReportResultsResponseOrBuilder
    • getRowsOrBuilderList

      public List<? extends RowOrBuilder> getRowsOrBuilderList()
       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:
      getRowsOrBuilderList in interface FetchReportResultsResponseOrBuilder
    • 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.