Class ListInsightsConfigsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListInsightsConfigsResponse.Builder>
com.google.cloud.developerconnect.v1.ListInsightsConfigsResponse.Builder
All Implemented Interfaces:
ListInsightsConfigsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListInsightsConfigsResponse

public static final class ListInsightsConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListInsightsConfigsResponse.Builder> implements ListInsightsConfigsResponseOrBuilder
 Request for response to listing InsightsConfigs.
 
Protobuf type google.cloud.developerconnect.v1.ListInsightsConfigsResponse
  • 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<ListInsightsConfigsResponse.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<ListInsightsConfigsResponse.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<ListInsightsConfigsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListInsightsConfigsResponse.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<ListInsightsConfigsResponse.Builder>
      Throws:
      IOException
    • getInsightsConfigsList

      public List<InsightsConfig> getInsightsConfigsList()
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
      Specified by:
      getInsightsConfigsList in interface ListInsightsConfigsResponseOrBuilder
    • getInsightsConfigsCount

      public int getInsightsConfigsCount()
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
      Specified by:
      getInsightsConfigsCount in interface ListInsightsConfigsResponseOrBuilder
    • getInsightsConfigs

      public InsightsConfig getInsightsConfigs(int index)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
      Specified by:
      getInsightsConfigs in interface ListInsightsConfigsResponseOrBuilder
    • setInsightsConfigs

      public ListInsightsConfigsResponse.Builder setInsightsConfigs(int index, InsightsConfig value)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • setInsightsConfigs

      public ListInsightsConfigsResponse.Builder setInsightsConfigs(int index, InsightsConfig.Builder builderForValue)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • addInsightsConfigs

      public ListInsightsConfigsResponse.Builder addInsightsConfigs(InsightsConfig value)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • addInsightsConfigs

      public ListInsightsConfigsResponse.Builder addInsightsConfigs(int index, InsightsConfig value)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • addInsightsConfigs

      public ListInsightsConfigsResponse.Builder addInsightsConfigs(InsightsConfig.Builder builderForValue)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • addInsightsConfigs

      public ListInsightsConfigsResponse.Builder addInsightsConfigs(int index, InsightsConfig.Builder builderForValue)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • addAllInsightsConfigs

      public ListInsightsConfigsResponse.Builder addAllInsightsConfigs(Iterable<? extends InsightsConfig> values)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • clearInsightsConfigs

      public ListInsightsConfigsResponse.Builder clearInsightsConfigs()
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • removeInsightsConfigs

      public ListInsightsConfigsResponse.Builder removeInsightsConfigs(int index)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • getInsightsConfigsBuilder

      public InsightsConfig.Builder getInsightsConfigsBuilder(int index)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • getInsightsConfigsOrBuilder

      public InsightsConfigOrBuilder getInsightsConfigsOrBuilder(int index)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
      Specified by:
      getInsightsConfigsOrBuilder in interface ListInsightsConfigsResponseOrBuilder
    • getInsightsConfigsOrBuilderList

      public List<? extends InsightsConfigOrBuilder> getInsightsConfigsOrBuilderList()
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
      Specified by:
      getInsightsConfigsOrBuilderList in interface ListInsightsConfigsResponseOrBuilder
    • addInsightsConfigsBuilder

      public InsightsConfig.Builder addInsightsConfigsBuilder()
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • addInsightsConfigsBuilder

      public InsightsConfig.Builder addInsightsConfigsBuilder(int index)
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • getInsightsConfigsBuilderList

      public List<InsightsConfig.Builder> getInsightsConfigsBuilderList()
       The list of InsightsConfigs.
       
      repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListInsightsConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListInsightsConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListInsightsConfigsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListInsightsConfigsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListInsightsConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListInsightsConfigsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListInsightsConfigsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListInsightsConfigsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListInsightsConfigsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListInsightsConfigsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListInsightsConfigsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListInsightsConfigsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListInsightsConfigsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListInsightsConfigsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.