Class ListGroupsResponse.Builder

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

public static final class ListGroupsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListGroupsResponse.Builder> implements ListGroupsResponseOrBuilder
 The `ListGroups` response.
 
Protobuf type google.monitoring.v3.ListGroupsResponse
  • 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<ListGroupsResponse.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<ListGroupsResponse.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<ListGroupsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListGroupsResponse.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<ListGroupsResponse.Builder>
      Throws:
      IOException
    • getGroupList

      public List<Group> getGroupList()
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
      Specified by:
      getGroupList in interface ListGroupsResponseOrBuilder
    • getGroupCount

      public int getGroupCount()
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
      Specified by:
      getGroupCount in interface ListGroupsResponseOrBuilder
    • getGroup

      public Group getGroup(int index)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
      Specified by:
      getGroup in interface ListGroupsResponseOrBuilder
    • setGroup

      public ListGroupsResponse.Builder setGroup(int index, Group value)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • setGroup

      public ListGroupsResponse.Builder setGroup(int index, Group.Builder builderForValue)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • addGroup

      public ListGroupsResponse.Builder addGroup(Group value)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • addGroup

      public ListGroupsResponse.Builder addGroup(int index, Group value)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • addGroup

      public ListGroupsResponse.Builder addGroup(Group.Builder builderForValue)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • addGroup

      public ListGroupsResponse.Builder addGroup(int index, Group.Builder builderForValue)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • addAllGroup

      public ListGroupsResponse.Builder addAllGroup(Iterable<? extends Group> values)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • clearGroup

      public ListGroupsResponse.Builder clearGroup()
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • removeGroup

      public ListGroupsResponse.Builder removeGroup(int index)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • getGroupBuilder

      public Group.Builder getGroupBuilder(int index)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • getGroupOrBuilder

      public GroupOrBuilder getGroupOrBuilder(int index)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
      Specified by:
      getGroupOrBuilder in interface ListGroupsResponseOrBuilder
    • getGroupOrBuilderList

      public List<? extends GroupOrBuilder> getGroupOrBuilderList()
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
      Specified by:
      getGroupOrBuilderList in interface ListGroupsResponseOrBuilder
    • addGroupBuilder

      public Group.Builder addGroupBuilder()
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • addGroupBuilder

      public Group.Builder addGroupBuilder(int index)
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 1;
    • getGroupBuilderList

      public List<Group.Builder> getGroupBuilderList()
       The groups that match the specified filters.
       
      repeated .google.monitoring.v3.Group group = 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 ListGroupsResponseOrBuilder
      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 ListGroupsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListGroupsResponse.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 ListGroupsResponse.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 ListGroupsResponse.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.