Class ListPrivateConnectionsResponse.Builder

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

public static final class ListPrivateConnectionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPrivateConnectionsResponse.Builder> implements ListPrivateConnectionsResponseOrBuilder
 Response message for
 [VmwareEngine.ListPrivateConnections][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections]
 
Protobuf type google.cloud.vmwareengine.v1.ListPrivateConnectionsResponse
  • 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<ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
      Throws:
      IOException
    • getPrivateConnectionsList

      public List<PrivateConnection> getPrivateConnectionsList()
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
      Specified by:
      getPrivateConnectionsList in interface ListPrivateConnectionsResponseOrBuilder
    • getPrivateConnectionsCount

      public int getPrivateConnectionsCount()
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
      Specified by:
      getPrivateConnectionsCount in interface ListPrivateConnectionsResponseOrBuilder
    • getPrivateConnections

      public PrivateConnection getPrivateConnections(int index)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
      Specified by:
      getPrivateConnections in interface ListPrivateConnectionsResponseOrBuilder
    • setPrivateConnections

      public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection value)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • setPrivateConnections

      public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection.Builder builderForValue)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • addPrivateConnections

      public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection value)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • addPrivateConnections

      public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection value)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • addPrivateConnections

      public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection.Builder builderForValue)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • addPrivateConnections

      public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection.Builder builderForValue)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • addAllPrivateConnections

      public ListPrivateConnectionsResponse.Builder addAllPrivateConnections(Iterable<? extends PrivateConnection> values)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • clearPrivateConnections

      public ListPrivateConnectionsResponse.Builder clearPrivateConnections()
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • removePrivateConnections

      public ListPrivateConnectionsResponse.Builder removePrivateConnections(int index)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • getPrivateConnectionsBuilder

      public PrivateConnection.Builder getPrivateConnectionsBuilder(int index)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • getPrivateConnectionsOrBuilder

      public PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder(int index)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
      Specified by:
      getPrivateConnectionsOrBuilder in interface ListPrivateConnectionsResponseOrBuilder
    • getPrivateConnectionsOrBuilderList

      public List<? extends PrivateConnectionOrBuilder> getPrivateConnectionsOrBuilderList()
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
      Specified by:
      getPrivateConnectionsOrBuilderList in interface ListPrivateConnectionsResponseOrBuilder
    • addPrivateConnectionsBuilder

      public PrivateConnection.Builder addPrivateConnectionsBuilder()
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • addPrivateConnectionsBuilder

      public PrivateConnection.Builder addPrivateConnectionsBuilder(int index)
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • getPrivateConnectionsBuilderList

      public List<PrivateConnection.Builder> getPrivateConnectionsBuilderList()
       A list of private connections.
       
      repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListPrivateConnectionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

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

      public ListPrivateConnectionsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListPrivateConnectionsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListPrivateConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      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()
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListPrivateConnectionsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListPrivateConnectionsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListPrivateConnectionsResponseOrBuilder
      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)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListPrivateConnectionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListPrivateConnectionsResponse.Builder setUnreachable(int index, String value)
       Unreachable resources.
       
      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 ListPrivateConnectionsResponse.Builder addUnreachable(String value)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListPrivateConnectionsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListPrivateConnectionsResponse.Builder clearUnreachable()
       Unreachable resources.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListPrivateConnectionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.