Class ListSecurityProfilesResponse.Builder

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

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

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

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

      public ListSecurityProfilesResponse.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<ListSecurityProfilesResponse.Builder>
      Throws:
      IOException
    • getSecurityProfilesList

      public List<SecurityProfile> getSecurityProfilesList()
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
      Specified by:
      getSecurityProfilesList in interface ListSecurityProfilesResponseOrBuilder
    • getSecurityProfilesCount

      public int getSecurityProfilesCount()
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
      Specified by:
      getSecurityProfilesCount in interface ListSecurityProfilesResponseOrBuilder
    • getSecurityProfiles

      public SecurityProfile getSecurityProfiles(int index)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
      Specified by:
      getSecurityProfiles in interface ListSecurityProfilesResponseOrBuilder
    • setSecurityProfiles

      public ListSecurityProfilesResponse.Builder setSecurityProfiles(int index, SecurityProfile value)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • setSecurityProfiles

      public ListSecurityProfilesResponse.Builder setSecurityProfiles(int index, SecurityProfile.Builder builderForValue)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • addSecurityProfiles

      public ListSecurityProfilesResponse.Builder addSecurityProfiles(SecurityProfile value)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • addSecurityProfiles

      public ListSecurityProfilesResponse.Builder addSecurityProfiles(int index, SecurityProfile value)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • addSecurityProfiles

      public ListSecurityProfilesResponse.Builder addSecurityProfiles(SecurityProfile.Builder builderForValue)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • addSecurityProfiles

      public ListSecurityProfilesResponse.Builder addSecurityProfiles(int index, SecurityProfile.Builder builderForValue)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • addAllSecurityProfiles

      public ListSecurityProfilesResponse.Builder addAllSecurityProfiles(Iterable<? extends SecurityProfile> values)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • clearSecurityProfiles

      public ListSecurityProfilesResponse.Builder clearSecurityProfiles()
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • removeSecurityProfiles

      public ListSecurityProfilesResponse.Builder removeSecurityProfiles(int index)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • getSecurityProfilesBuilder

      public SecurityProfile.Builder getSecurityProfilesBuilder(int index)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • getSecurityProfilesOrBuilder

      public SecurityProfileOrBuilder getSecurityProfilesOrBuilder(int index)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
      Specified by:
      getSecurityProfilesOrBuilder in interface ListSecurityProfilesResponseOrBuilder
    • getSecurityProfilesOrBuilderList

      public List<? extends SecurityProfileOrBuilder> getSecurityProfilesOrBuilderList()
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
      Specified by:
      getSecurityProfilesOrBuilderList in interface ListSecurityProfilesResponseOrBuilder
    • addSecurityProfilesBuilder

      public SecurityProfile.Builder addSecurityProfilesBuilder()
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • addSecurityProfilesBuilder

      public SecurityProfile.Builder addSecurityProfilesBuilder(int index)
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 1;
    • getSecurityProfilesBuilderList

      public List<SecurityProfile.Builder> getSecurityProfilesBuilderList()
       List of SecurityProfile resources.
       
      repeated .google.cloud.networksecurity.v1.SecurityProfile security_profiles = 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 ListSecurityProfilesResponseOrBuilder
      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 ListSecurityProfilesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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