Class ListVpnConnectionsResponse.Builder

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

public static final class ListVpnConnectionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListVpnConnectionsResponse.Builder> implements ListVpnConnectionsResponseOrBuilder
 List of VPN connections in a location.
 
Protobuf type google.cloud.edgecontainer.v1.ListVpnConnectionsResponse
  • 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<ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.Builder>
      Throws:
      IOException
    • getVpnConnectionsList

      public List<VpnConnection> getVpnConnectionsList()
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
      Specified by:
      getVpnConnectionsList in interface ListVpnConnectionsResponseOrBuilder
    • getVpnConnectionsCount

      public int getVpnConnectionsCount()
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
      Specified by:
      getVpnConnectionsCount in interface ListVpnConnectionsResponseOrBuilder
    • getVpnConnections

      public VpnConnection getVpnConnections(int index)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
      Specified by:
      getVpnConnections in interface ListVpnConnectionsResponseOrBuilder
    • setVpnConnections

      public ListVpnConnectionsResponse.Builder setVpnConnections(int index, VpnConnection value)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • setVpnConnections

      public ListVpnConnectionsResponse.Builder setVpnConnections(int index, VpnConnection.Builder builderForValue)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • addVpnConnections

      public ListVpnConnectionsResponse.Builder addVpnConnections(VpnConnection value)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • addVpnConnections

      public ListVpnConnectionsResponse.Builder addVpnConnections(int index, VpnConnection value)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • addVpnConnections

      public ListVpnConnectionsResponse.Builder addVpnConnections(VpnConnection.Builder builderForValue)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • addVpnConnections

      public ListVpnConnectionsResponse.Builder addVpnConnections(int index, VpnConnection.Builder builderForValue)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • addAllVpnConnections

      public ListVpnConnectionsResponse.Builder addAllVpnConnections(Iterable<? extends VpnConnection> values)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • clearVpnConnections

      public ListVpnConnectionsResponse.Builder clearVpnConnections()
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • removeVpnConnections

      public ListVpnConnectionsResponse.Builder removeVpnConnections(int index)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • getVpnConnectionsBuilder

      public VpnConnection.Builder getVpnConnectionsBuilder(int index)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • getVpnConnectionsOrBuilder

      public VpnConnectionOrBuilder getVpnConnectionsOrBuilder(int index)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
      Specified by:
      getVpnConnectionsOrBuilder in interface ListVpnConnectionsResponseOrBuilder
    • getVpnConnectionsOrBuilderList

      public List<? extends VpnConnectionOrBuilder> getVpnConnectionsOrBuilderList()
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
      Specified by:
      getVpnConnectionsOrBuilderList in interface ListVpnConnectionsResponseOrBuilder
    • addVpnConnectionsBuilder

      public VpnConnection.Builder addVpnConnectionsBuilder()
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • addVpnConnectionsBuilder

      public VpnConnection.Builder addVpnConnectionsBuilder(int index)
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • getVpnConnectionsBuilderList

      public List<VpnConnection.Builder> getVpnConnectionsBuilderList()
       VpnConnections in the location.
       
      repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListVpnConnectionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListVpnConnectionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListVpnConnectionsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListVpnConnectionsResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListVpnConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       
      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 ListVpnConnectionsResponseOrBuilder
      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 ListVpnConnectionsResponseOrBuilder
      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 ListVpnConnectionsResponseOrBuilder
      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 ListVpnConnectionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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