Class ListInterceptDeploymentsResponse.Builder

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

public static final class ListInterceptDeploymentsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListInterceptDeploymentsResponse.Builder> implements ListInterceptDeploymentsResponseOrBuilder
 Response message for ListInterceptDeployments.
 
Protobuf type google.cloud.networksecurity.v1.ListInterceptDeploymentsResponse
  • 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<ListInterceptDeploymentsResponse.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<ListInterceptDeploymentsResponse.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<ListInterceptDeploymentsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListInterceptDeploymentsResponse.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<ListInterceptDeploymentsResponse.Builder>
      Throws:
      IOException
    • getInterceptDeploymentsList

      public List<InterceptDeployment> getInterceptDeploymentsList()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
      Specified by:
      getInterceptDeploymentsList in interface ListInterceptDeploymentsResponseOrBuilder
    • getInterceptDeploymentsCount

      public int getInterceptDeploymentsCount()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
      Specified by:
      getInterceptDeploymentsCount in interface ListInterceptDeploymentsResponseOrBuilder
    • getInterceptDeployments

      public InterceptDeployment getInterceptDeployments(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
      Specified by:
      getInterceptDeployments in interface ListInterceptDeploymentsResponseOrBuilder
    • setInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder setInterceptDeployments(int index, InterceptDeployment value)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • setInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder setInterceptDeployments(int index, InterceptDeployment.Builder builderForValue)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • addInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(InterceptDeployment value)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • addInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(int index, InterceptDeployment value)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • addInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(InterceptDeployment.Builder builderForValue)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • addInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(int index, InterceptDeployment.Builder builderForValue)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • addAllInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder addAllInterceptDeployments(Iterable<? extends InterceptDeployment> values)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • clearInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder clearInterceptDeployments()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • removeInterceptDeployments

      public ListInterceptDeploymentsResponse.Builder removeInterceptDeployments(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • getInterceptDeploymentsBuilder

      public InterceptDeployment.Builder getInterceptDeploymentsBuilder(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • getInterceptDeploymentsOrBuilder

      public InterceptDeploymentOrBuilder getInterceptDeploymentsOrBuilder(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
      Specified by:
      getInterceptDeploymentsOrBuilder in interface ListInterceptDeploymentsResponseOrBuilder
    • getInterceptDeploymentsOrBuilderList

      public List<? extends InterceptDeploymentOrBuilder> getInterceptDeploymentsOrBuilderList()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
      Specified by:
      getInterceptDeploymentsOrBuilderList in interface ListInterceptDeploymentsResponseOrBuilder
    • addInterceptDeploymentsBuilder

      public InterceptDeployment.Builder addInterceptDeploymentsBuilder()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • addInterceptDeploymentsBuilder

      public InterceptDeployment.Builder addInterceptDeploymentsBuilder(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • getInterceptDeploymentsBuilderList

      public List<InterceptDeployment.Builder> getInterceptDeploymentsBuilderList()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       See https://google.aip.dev/158 for more details.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListInterceptDeploymentsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       See https://google.aip.dev/158 for more details.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListInterceptDeploymentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListInterceptDeploymentsResponse.Builder setNextPageToken(String value)
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       See https://google.aip.dev/158 for more details.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListInterceptDeploymentsResponse.Builder clearNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       See https://google.aip.dev/158 for more details.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListInterceptDeploymentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token that can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       See https://google.aip.dev/158 for more details.
       
      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 ListInterceptDeploymentsResponseOrBuilder
      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 ListInterceptDeploymentsResponseOrBuilder
      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 ListInterceptDeploymentsResponseOrBuilder
      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 ListInterceptDeploymentsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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