Class ListDashboardsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDashboardsResponse.Builder>
com.google.monitoring.dashboard.v1.ListDashboardsResponse.Builder
All Implemented Interfaces:
ListDashboardsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListDashboardsResponse

public static final class ListDashboardsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDashboardsResponse.Builder> implements ListDashboardsResponseOrBuilder
 The `ListDashboards` request.
 
Protobuf type google.monitoring.dashboard.v1.ListDashboardsResponse
  • 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<ListDashboardsResponse.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<ListDashboardsResponse.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<ListDashboardsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListDashboardsResponse.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<ListDashboardsResponse.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<ListDashboardsResponse.Builder>
    • mergeFrom

      public ListDashboardsResponse.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<ListDashboardsResponse.Builder>
      Throws:
      IOException
    • getDashboardsList

      public List<Dashboard> getDashboardsList()
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
      Specified by:
      getDashboardsList in interface ListDashboardsResponseOrBuilder
    • getDashboardsCount

      public int getDashboardsCount()
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
      Specified by:
      getDashboardsCount in interface ListDashboardsResponseOrBuilder
    • getDashboards

      public Dashboard getDashboards(int index)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
      Specified by:
      getDashboards in interface ListDashboardsResponseOrBuilder
    • setDashboards

      public ListDashboardsResponse.Builder setDashboards(int index, Dashboard value)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • setDashboards

      public ListDashboardsResponse.Builder setDashboards(int index, Dashboard.Builder builderForValue)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • addDashboards

      public ListDashboardsResponse.Builder addDashboards(Dashboard value)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • addDashboards

      public ListDashboardsResponse.Builder addDashboards(int index, Dashboard value)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • addDashboards

      public ListDashboardsResponse.Builder addDashboards(Dashboard.Builder builderForValue)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • addDashboards

      public ListDashboardsResponse.Builder addDashboards(int index, Dashboard.Builder builderForValue)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • addAllDashboards

      public ListDashboardsResponse.Builder addAllDashboards(Iterable<? extends Dashboard> values)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • clearDashboards

      public ListDashboardsResponse.Builder clearDashboards()
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • removeDashboards

      public ListDashboardsResponse.Builder removeDashboards(int index)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • getDashboardsBuilder

      public Dashboard.Builder getDashboardsBuilder(int index)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • getDashboardsOrBuilder

      public DashboardOrBuilder getDashboardsOrBuilder(int index)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
      Specified by:
      getDashboardsOrBuilder in interface ListDashboardsResponseOrBuilder
    • getDashboardsOrBuilderList

      public List<? extends DashboardOrBuilder> getDashboardsOrBuilderList()
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
      Specified by:
      getDashboardsOrBuilderList in interface ListDashboardsResponseOrBuilder
    • addDashboardsBuilder

      public Dashboard.Builder addDashboardsBuilder()
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • addDashboardsBuilder

      public Dashboard.Builder addDashboardsBuilder(int index)
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • getDashboardsBuilderList

      public List<Dashboard.Builder> getDashboardsBuilderList()
       The list of requested dashboards.
       
      repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
    • getNextPageToken

      public String getNextPageToken()
       If there are more results than have been returned, then this field is set
       to a non-empty value.  To see the additional results,
       use that value as `page_token` in the next call to this method.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDashboardsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If there are more results than have been returned, then this field is set
       to a non-empty value.  To see the additional results,
       use that value as `page_token` in the next call to this method.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDashboardsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDashboardsResponse.Builder setNextPageToken(String value)
       If there are more results than have been returned, then this field is set
       to a non-empty value.  To see the additional results,
       use that value as `page_token` in the next call to this method.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDashboardsResponse.Builder clearNextPageToken()
       If there are more results than have been returned, then this field is set
       to a non-empty value.  To see the additional results,
       use that value as `page_token` in the next call to this method.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDashboardsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If there are more results than have been returned, then this field is set
       to a non-empty value.  To see the additional results,
       use that value as `page_token` in the next call to this method.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.