Class ListUptimeCheckConfigsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListUptimeCheckConfigsResponse.Builder>
com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder
All Implemented Interfaces:
ListUptimeCheckConfigsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListUptimeCheckConfigsResponse

public static final class ListUptimeCheckConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListUptimeCheckConfigsResponse.Builder> implements ListUptimeCheckConfigsResponseOrBuilder
 The protocol for the `ListUptimeCheckConfigs` response.
 
Protobuf type google.monitoring.v3.ListUptimeCheckConfigsResponse
  • 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<ListUptimeCheckConfigsResponse.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<ListUptimeCheckConfigsResponse.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<ListUptimeCheckConfigsResponse.Builder>
    • getDefaultInstanceForType

      public ListUptimeCheckConfigsResponse 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 ListUptimeCheckConfigsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListUptimeCheckConfigsResponse.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<ListUptimeCheckConfigsResponse.Builder>
      Throws:
      IOException
    • getUptimeCheckConfigsList

      public List<UptimeCheckConfig> getUptimeCheckConfigsList()
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
      Specified by:
      getUptimeCheckConfigsList in interface ListUptimeCheckConfigsResponseOrBuilder
    • getUptimeCheckConfigsCount

      public int getUptimeCheckConfigsCount()
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
      Specified by:
      getUptimeCheckConfigsCount in interface ListUptimeCheckConfigsResponseOrBuilder
    • getUptimeCheckConfigs

      public UptimeCheckConfig getUptimeCheckConfigs(int index)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
      Specified by:
      getUptimeCheckConfigs in interface ListUptimeCheckConfigsResponseOrBuilder
    • setUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder setUptimeCheckConfigs(int index, UptimeCheckConfig value)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • setUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder setUptimeCheckConfigs(int index, UptimeCheckConfig.Builder builderForValue)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • addUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(UptimeCheckConfig value)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • addUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(int index, UptimeCheckConfig value)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • addUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(UptimeCheckConfig.Builder builderForValue)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • addUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(int index, UptimeCheckConfig.Builder builderForValue)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • addAllUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder addAllUptimeCheckConfigs(Iterable<? extends UptimeCheckConfig> values)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • clearUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder clearUptimeCheckConfigs()
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • removeUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse.Builder removeUptimeCheckConfigs(int index)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • getUptimeCheckConfigsBuilder

      public UptimeCheckConfig.Builder getUptimeCheckConfigsBuilder(int index)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • getUptimeCheckConfigsOrBuilder

      public UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder(int index)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
      Specified by:
      getUptimeCheckConfigsOrBuilder in interface ListUptimeCheckConfigsResponseOrBuilder
    • getUptimeCheckConfigsOrBuilderList

      public List<? extends UptimeCheckConfigOrBuilder> getUptimeCheckConfigsOrBuilderList()
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
      Specified by:
      getUptimeCheckConfigsOrBuilderList in interface ListUptimeCheckConfigsResponseOrBuilder
    • addUptimeCheckConfigsBuilder

      public UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder()
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • addUptimeCheckConfigsBuilder

      public UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder(int index)
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • getUptimeCheckConfigsBuilderList

      public List<UptimeCheckConfig.Builder> getUptimeCheckConfigsBuilderList()
       The returned Uptime check configurations.
       
      repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       This field represents the pagination token to retrieve the next page of
       results. If the value is empty, it means no further results for the
       request. To retrieve the next page of results, the value of the
       next_page_token is passed to the subsequent List method call (in the
       request message's page_token field).
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListUptimeCheckConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       This field represents the pagination token to retrieve the next page of
       results. If the value is empty, it means no further results for the
       request. To retrieve the next page of results, the value of the
       next_page_token is passed to the subsequent List method call (in the
       request message's page_token field).
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListUptimeCheckConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListUptimeCheckConfigsResponse.Builder setNextPageToken(String value)
       This field represents the pagination token to retrieve the next page of
       results. If the value is empty, it means no further results for the
       request. To retrieve the next page of results, the value of the
       next_page_token is passed to the subsequent List method call (in the
       request message's page_token field).
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListUptimeCheckConfigsResponse.Builder clearNextPageToken()
       This field represents the pagination token to retrieve the next page of
       results. If the value is empty, it means no further results for the
       request. To retrieve the next page of results, the value of the
       next_page_token is passed to the subsequent List method call (in the
       request message's page_token field).
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListUptimeCheckConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       This field represents the pagination token to retrieve the next page of
       results. If the value is empty, it means no further results for the
       request. To retrieve the next page of results, the value of the
       next_page_token is passed to the subsequent List method call (in the
       request message's page_token field).
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getTotalSize

      public int getTotalSize()
       The total number of Uptime check configurations for the project,
       irrespective of any pagination.
       
      int32 total_size = 3;
      Specified by:
      getTotalSize in interface ListUptimeCheckConfigsResponseOrBuilder
      Returns:
      The totalSize.
    • setTotalSize

      public ListUptimeCheckConfigsResponse.Builder setTotalSize(int value)
       The total number of Uptime check configurations for the project,
       irrespective of any pagination.
       
      int32 total_size = 3;
      Parameters:
      value - The totalSize to set.
      Returns:
      This builder for chaining.
    • clearTotalSize

      public ListUptimeCheckConfigsResponse.Builder clearTotalSize()
       The total number of Uptime check configurations for the project,
       irrespective of any pagination.
       
      int32 total_size = 3;
      Returns:
      This builder for chaining.