Class ListUnitsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListUnitsResponse.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.ListUnitsResponse.Builder
All Implemented Interfaces:
ListUnitsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListUnitsResponse

public static final class ListUnitsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListUnitsResponse.Builder> implements ListUnitsResponseOrBuilder
 The response structure for the ListUnits method.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.ListUnitsResponse
  • 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<ListUnitsResponse.Builder>
    • clear

      public ListUnitsResponse.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<ListUnitsResponse.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<ListUnitsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListUnitsResponse.Builder mergeFrom(ListUnitsResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListUnitsResponse.Builder>
    • mergeFrom

      public ListUnitsResponse.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<ListUnitsResponse.Builder>
      Throws:
      IOException
    • getUnitsList

      public List<Unit> getUnitsList()
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
      Specified by:
      getUnitsList in interface ListUnitsResponseOrBuilder
    • getUnitsCount

      public int getUnitsCount()
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
      Specified by:
      getUnitsCount in interface ListUnitsResponseOrBuilder
    • getUnits

      public Unit getUnits(int index)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
      Specified by:
      getUnits in interface ListUnitsResponseOrBuilder
    • setUnits

      public ListUnitsResponse.Builder setUnits(int index, Unit value)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • setUnits

      public ListUnitsResponse.Builder setUnits(int index, Unit.Builder builderForValue)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • addUnits

      public ListUnitsResponse.Builder addUnits(Unit value)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • addUnits

      public ListUnitsResponse.Builder addUnits(int index, Unit value)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • addUnits

      public ListUnitsResponse.Builder addUnits(Unit.Builder builderForValue)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • addUnits

      public ListUnitsResponse.Builder addUnits(int index, Unit.Builder builderForValue)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • addAllUnits

      public ListUnitsResponse.Builder addAllUnits(Iterable<? extends Unit> values)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • clearUnits

      public ListUnitsResponse.Builder clearUnits()
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • removeUnits

      public ListUnitsResponse.Builder removeUnits(int index)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • getUnitsBuilder

      public Unit.Builder getUnitsBuilder(int index)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • getUnitsOrBuilder

      public UnitOrBuilder getUnitsOrBuilder(int index)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
      Specified by:
      getUnitsOrBuilder in interface ListUnitsResponseOrBuilder
    • getUnitsOrBuilderList

      public List<? extends UnitOrBuilder> getUnitsOrBuilderList()
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
      Specified by:
      getUnitsOrBuilderList in interface ListUnitsResponseOrBuilder
    • addUnitsBuilder

      public Unit.Builder addUnitsBuilder()
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • addUnitsBuilder

      public Unit.Builder addUnitsBuilder(int index)
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • getUnitsBuilderList

      public List<Unit.Builder> getUnitsBuilderList()
       The resulting units.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
    • getNextPageToken

      public String getNextPageToken()
       If present, the next page token can be provided to a subsequent
       ListUnits call to list the next page.
       If empty, there are no more pages.
       
      string next_page_token = 10510;
      Specified by:
      getNextPageToken in interface ListUnitsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If present, the next page token can be provided to a subsequent
       ListUnits call to list the next page.
       If empty, there are no more pages.
       
      string next_page_token = 10510;
      Specified by:
      getNextPageTokenBytes in interface ListUnitsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListUnitsResponse.Builder setNextPageToken(String value)
       If present, the next page token can be provided to a subsequent
       ListUnits call to list the next page.
       If empty, there are no more pages.
       
      string next_page_token = 10510;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListUnitsResponse.Builder clearNextPageToken()
       If present, the next page token can be provided to a subsequent
       ListUnits call to list the next page.
       If empty, there are no more pages.
       
      string next_page_token = 10510;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListUnitsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If present, the next page token can be provided to a subsequent
       ListUnits call to list the next page.
       If empty, there are no more pages.
       
      string next_page_token = 10510;
      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 = 10511;
      Specified by:
      getUnreachableList in interface ListUnitsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 10511;
      Specified by:
      getUnreachableCount in interface ListUnitsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

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

      public ListUnitsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 10511;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListUnitsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 10511;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListUnitsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 10511;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListUnitsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 10511;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListUnitsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 10511;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.