Class ListMirroringDeploymentsResponse.Builder

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

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

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

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

      public ListMirroringDeploymentsResponse.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<ListMirroringDeploymentsResponse.Builder>
      Throws:
      IOException
    • getMirroringDeploymentsList

      public List<MirroringDeployment> getMirroringDeploymentsList()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
      Specified by:
      getMirroringDeploymentsList in interface ListMirroringDeploymentsResponseOrBuilder
    • getMirroringDeploymentsCount

      public int getMirroringDeploymentsCount()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
      Specified by:
      getMirroringDeploymentsCount in interface ListMirroringDeploymentsResponseOrBuilder
    • getMirroringDeployments

      public MirroringDeployment getMirroringDeployments(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
      Specified by:
      getMirroringDeployments in interface ListMirroringDeploymentsResponseOrBuilder
    • setMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder setMirroringDeployments(int index, MirroringDeployment value)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • setMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder setMirroringDeployments(int index, MirroringDeployment.Builder builderForValue)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • addMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(MirroringDeployment value)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • addMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(int index, MirroringDeployment value)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • addMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(MirroringDeployment.Builder builderForValue)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • addMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(int index, MirroringDeployment.Builder builderForValue)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • addAllMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder addAllMirroringDeployments(Iterable<? extends MirroringDeployment> values)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • clearMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder clearMirroringDeployments()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • removeMirroringDeployments

      public ListMirroringDeploymentsResponse.Builder removeMirroringDeployments(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • getMirroringDeploymentsBuilder

      public MirroringDeployment.Builder getMirroringDeploymentsBuilder(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • getMirroringDeploymentsOrBuilder

      public MirroringDeploymentOrBuilder getMirroringDeploymentsOrBuilder(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
      Specified by:
      getMirroringDeploymentsOrBuilder in interface ListMirroringDeploymentsResponseOrBuilder
    • getMirroringDeploymentsOrBuilderList

      public List<? extends MirroringDeploymentOrBuilder> getMirroringDeploymentsOrBuilderList()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
      Specified by:
      getMirroringDeploymentsOrBuilderList in interface ListMirroringDeploymentsResponseOrBuilder
    • addMirroringDeploymentsBuilder

      public MirroringDeployment.Builder addMirroringDeploymentsBuilder()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • addMirroringDeploymentsBuilder

      public MirroringDeployment.Builder addMirroringDeploymentsBuilder(int index)
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;
    • getMirroringDeploymentsBuilderList

      public List<MirroringDeployment.Builder> getMirroringDeploymentsBuilderList()
       The deployments from the specified parent.
       
      repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_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 ListMirroringDeploymentsResponseOrBuilder
      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 ListMirroringDeploymentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListMirroringDeploymentsResponse.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 ListMirroringDeploymentsResponse.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 ListMirroringDeploymentsResponse.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 ListMirroringDeploymentsResponseOrBuilder
      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 ListMirroringDeploymentsResponseOrBuilder
      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 ListMirroringDeploymentsResponseOrBuilder
      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 ListMirroringDeploymentsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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