Class ListTlsInspectionPoliciesResponse.Builder

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

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

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

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

      public ListTlsInspectionPoliciesResponse.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<ListTlsInspectionPoliciesResponse.Builder>
      Throws:
      IOException
    • getTlsInspectionPoliciesList

      public List<TlsInspectionPolicy> getTlsInspectionPoliciesList()
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
      Specified by:
      getTlsInspectionPoliciesList in interface ListTlsInspectionPoliciesResponseOrBuilder
    • getTlsInspectionPoliciesCount

      public int getTlsInspectionPoliciesCount()
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
      Specified by:
      getTlsInspectionPoliciesCount in interface ListTlsInspectionPoliciesResponseOrBuilder
    • getTlsInspectionPolicies

      public TlsInspectionPolicy getTlsInspectionPolicies(int index)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
      Specified by:
      getTlsInspectionPolicies in interface ListTlsInspectionPoliciesResponseOrBuilder
    • setTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder setTlsInspectionPolicies(int index, TlsInspectionPolicy value)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • setTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder setTlsInspectionPolicies(int index, TlsInspectionPolicy.Builder builderForValue)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • addTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder addTlsInspectionPolicies(TlsInspectionPolicy value)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • addTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder addTlsInspectionPolicies(int index, TlsInspectionPolicy value)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • addTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder addTlsInspectionPolicies(TlsInspectionPolicy.Builder builderForValue)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • addTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder addTlsInspectionPolicies(int index, TlsInspectionPolicy.Builder builderForValue)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • addAllTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder addAllTlsInspectionPolicies(Iterable<? extends TlsInspectionPolicy> values)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • clearTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder clearTlsInspectionPolicies()
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • removeTlsInspectionPolicies

      public ListTlsInspectionPoliciesResponse.Builder removeTlsInspectionPolicies(int index)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • getTlsInspectionPoliciesBuilder

      public TlsInspectionPolicy.Builder getTlsInspectionPoliciesBuilder(int index)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • getTlsInspectionPoliciesOrBuilder

      public TlsInspectionPolicyOrBuilder getTlsInspectionPoliciesOrBuilder(int index)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
      Specified by:
      getTlsInspectionPoliciesOrBuilder in interface ListTlsInspectionPoliciesResponseOrBuilder
    • getTlsInspectionPoliciesOrBuilderList

      public List<? extends TlsInspectionPolicyOrBuilder> getTlsInspectionPoliciesOrBuilderList()
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
      Specified by:
      getTlsInspectionPoliciesOrBuilderList in interface ListTlsInspectionPoliciesResponseOrBuilder
    • addTlsInspectionPoliciesBuilder

      public TlsInspectionPolicy.Builder addTlsInspectionPoliciesBuilder()
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • addTlsInspectionPoliciesBuilder

      public TlsInspectionPolicy.Builder addTlsInspectionPoliciesBuilder(int index)
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 1;
    • getTlsInspectionPoliciesBuilderList

      public List<TlsInspectionPolicy.Builder> getTlsInspectionPoliciesBuilderList()
       List of TlsInspectionPolicies resources.
       
      repeated .google.cloud.networksecurity.v1.TlsInspectionPolicy tls_inspection_policies = 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 ListTlsInspectionPoliciesResponseOrBuilder
      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 ListTlsInspectionPoliciesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTlsInspectionPoliciesResponse.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 ListTlsInspectionPoliciesResponse.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 ListTlsInspectionPoliciesResponse.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.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListTlsInspectionPoliciesResponseOrBuilder
      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 ListTlsInspectionPoliciesResponseOrBuilder
      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 ListTlsInspectionPoliciesResponseOrBuilder
      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 ListTlsInspectionPoliciesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListTlsInspectionPoliciesResponse.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 ListTlsInspectionPoliciesResponse.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 ListTlsInspectionPoliciesResponse.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 ListTlsInspectionPoliciesResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

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