Class ListPrivateCloudsResponse.Builder

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

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

      public ListPrivateCloudsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListPrivateCloudsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListPrivateCloudsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListPrivateCloudsResponse.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<ListPrivateCloudsResponse.Builder>
      Throws:
      IOException
    • getPrivateCloudsList

      public List<PrivateCloud> getPrivateCloudsList()
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
      Specified by:
      getPrivateCloudsList in interface ListPrivateCloudsResponseOrBuilder
    • getPrivateCloudsCount

      public int getPrivateCloudsCount()
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
      Specified by:
      getPrivateCloudsCount in interface ListPrivateCloudsResponseOrBuilder
    • getPrivateClouds

      public PrivateCloud getPrivateClouds(int index)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
      Specified by:
      getPrivateClouds in interface ListPrivateCloudsResponseOrBuilder
    • setPrivateClouds

      public ListPrivateCloudsResponse.Builder setPrivateClouds(int index, PrivateCloud value)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • setPrivateClouds

      public ListPrivateCloudsResponse.Builder setPrivateClouds(int index, PrivateCloud.Builder builderForValue)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • addPrivateClouds

      public ListPrivateCloudsResponse.Builder addPrivateClouds(PrivateCloud value)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • addPrivateClouds

      public ListPrivateCloudsResponse.Builder addPrivateClouds(int index, PrivateCloud value)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • addPrivateClouds

      public ListPrivateCloudsResponse.Builder addPrivateClouds(PrivateCloud.Builder builderForValue)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • addPrivateClouds

      public ListPrivateCloudsResponse.Builder addPrivateClouds(int index, PrivateCloud.Builder builderForValue)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • addAllPrivateClouds

      public ListPrivateCloudsResponse.Builder addAllPrivateClouds(Iterable<? extends PrivateCloud> values)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • clearPrivateClouds

      public ListPrivateCloudsResponse.Builder clearPrivateClouds()
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • removePrivateClouds

      public ListPrivateCloudsResponse.Builder removePrivateClouds(int index)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • getPrivateCloudsBuilder

      public PrivateCloud.Builder getPrivateCloudsBuilder(int index)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • getPrivateCloudsOrBuilder

      public PrivateCloudOrBuilder getPrivateCloudsOrBuilder(int index)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
      Specified by:
      getPrivateCloudsOrBuilder in interface ListPrivateCloudsResponseOrBuilder
    • getPrivateCloudsOrBuilderList

      public List<? extends PrivateCloudOrBuilder> getPrivateCloudsOrBuilderList()
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
      Specified by:
      getPrivateCloudsOrBuilderList in interface ListPrivateCloudsResponseOrBuilder
    • addPrivateCloudsBuilder

      public PrivateCloud.Builder addPrivateCloudsBuilder()
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • addPrivateCloudsBuilder

      public PrivateCloud.Builder addPrivateCloudsBuilder(int index)
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
    • getPrivateCloudsBuilderList

      public List<PrivateCloud.Builder> getPrivateCloudsBuilderList()
       A list of private clouds.
       
      repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 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 ListPrivateCloudsResponseOrBuilder
      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 ListPrivateCloudsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListPrivateCloudsResponse.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 ListPrivateCloudsResponse.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 ListPrivateCloudsResponse.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()
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListPrivateCloudsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListPrivateCloudsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListPrivateCloudsResponseOrBuilder
      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 when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListPrivateCloudsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListPrivateCloudsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      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 ListPrivateCloudsResponse.Builder addUnreachable(String value)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListPrivateCloudsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListPrivateCloudsResponse.Builder clearUnreachable()
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListPrivateCloudsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.