Class ListSecurityProfileGroupsResponse.Builder

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

public static final class ListSecurityProfileGroupsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListSecurityProfileGroupsResponse.Builder> implements ListSecurityProfileGroupsResponseOrBuilder
 Response returned by the ListSecurityProfileGroups method.
 
Protobuf type google.cloud.networksecurity.v1.ListSecurityProfileGroupsResponse
  • 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<ListSecurityProfileGroupsResponse.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<ListSecurityProfileGroupsResponse.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<ListSecurityProfileGroupsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListSecurityProfileGroupsResponse.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<ListSecurityProfileGroupsResponse.Builder>
      Throws:
      IOException
    • getSecurityProfileGroupsList

      public List<SecurityProfileGroup> getSecurityProfileGroupsList()
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
      Specified by:
      getSecurityProfileGroupsList in interface ListSecurityProfileGroupsResponseOrBuilder
    • getSecurityProfileGroupsCount

      public int getSecurityProfileGroupsCount()
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
      Specified by:
      getSecurityProfileGroupsCount in interface ListSecurityProfileGroupsResponseOrBuilder
    • getSecurityProfileGroups

      public SecurityProfileGroup getSecurityProfileGroups(int index)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
      Specified by:
      getSecurityProfileGroups in interface ListSecurityProfileGroupsResponseOrBuilder
    • setSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder setSecurityProfileGroups(int index, SecurityProfileGroup value)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • setSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder setSecurityProfileGroups(int index, SecurityProfileGroup.Builder builderForValue)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • addSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(SecurityProfileGroup value)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • addSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(int index, SecurityProfileGroup value)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • addSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(SecurityProfileGroup.Builder builderForValue)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • addSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder addSecurityProfileGroups(int index, SecurityProfileGroup.Builder builderForValue)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • addAllSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder addAllSecurityProfileGroups(Iterable<? extends SecurityProfileGroup> values)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • clearSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder clearSecurityProfileGroups()
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • removeSecurityProfileGroups

      public ListSecurityProfileGroupsResponse.Builder removeSecurityProfileGroups(int index)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • getSecurityProfileGroupsBuilder

      public SecurityProfileGroup.Builder getSecurityProfileGroupsBuilder(int index)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • getSecurityProfileGroupsOrBuilder

      public SecurityProfileGroupOrBuilder getSecurityProfileGroupsOrBuilder(int index)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
      Specified by:
      getSecurityProfileGroupsOrBuilder in interface ListSecurityProfileGroupsResponseOrBuilder
    • getSecurityProfileGroupsOrBuilderList

      public List<? extends SecurityProfileGroupOrBuilder> getSecurityProfileGroupsOrBuilderList()
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
      Specified by:
      getSecurityProfileGroupsOrBuilderList in interface ListSecurityProfileGroupsResponseOrBuilder
    • addSecurityProfileGroupsBuilder

      public SecurityProfileGroup.Builder addSecurityProfileGroupsBuilder()
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • addSecurityProfileGroupsBuilder

      public SecurityProfileGroup.Builder addSecurityProfileGroupsBuilder(int index)
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • getSecurityProfileGroupsBuilderList

      public List<SecurityProfileGroup.Builder> getSecurityProfileGroupsBuilderList()
       List of SecurityProfileGroups resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_groups = 1;
    • getNextPageToken

      public String getNextPageToken()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListSecurityProfileGroupsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListSecurityProfileGroupsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListSecurityProfileGroupsResponse.Builder setNextPageToken(String value)
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListSecurityProfileGroupsResponse.Builder clearNextPageToken()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListSecurityProfileGroupsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.