Class ListTenantsResponse.Builder

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

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

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

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

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

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

      public ListTenantsResponse.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<ListTenantsResponse.Builder>
      Throws:
      IOException
    • getTenantsList

      public List<Tenant> getTenantsList()
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
      Specified by:
      getTenantsList in interface ListTenantsResponseOrBuilder
    • getTenantsCount

      public int getTenantsCount()
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
      Specified by:
      getTenantsCount in interface ListTenantsResponseOrBuilder
    • getTenants

      public Tenant getTenants(int index)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
      Specified by:
      getTenants in interface ListTenantsResponseOrBuilder
    • setTenants

      public ListTenantsResponse.Builder setTenants(int index, Tenant value)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • setTenants

      public ListTenantsResponse.Builder setTenants(int index, Tenant.Builder builderForValue)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • addTenants

      public ListTenantsResponse.Builder addTenants(Tenant value)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • addTenants

      public ListTenantsResponse.Builder addTenants(int index, Tenant value)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • addTenants

      public ListTenantsResponse.Builder addTenants(Tenant.Builder builderForValue)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • addTenants

      public ListTenantsResponse.Builder addTenants(int index, Tenant.Builder builderForValue)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • addAllTenants

      public ListTenantsResponse.Builder addAllTenants(Iterable<? extends Tenant> values)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • clearTenants

      public ListTenantsResponse.Builder clearTenants()
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • removeTenants

      public ListTenantsResponse.Builder removeTenants(int index)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • getTenantsBuilder

      public Tenant.Builder getTenantsBuilder(int index)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • getTenantsOrBuilder

      public TenantOrBuilder getTenantsOrBuilder(int index)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
      Specified by:
      getTenantsOrBuilder in interface ListTenantsResponseOrBuilder
    • getTenantsOrBuilderList

      public List<? extends TenantOrBuilder> getTenantsOrBuilderList()
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
      Specified by:
      getTenantsOrBuilderList in interface ListTenantsResponseOrBuilder
    • addTenantsBuilder

      public Tenant.Builder addTenantsBuilder()
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • addTenantsBuilder

      public Tenant.Builder addTenantsBuilder(int index)
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • getTenantsBuilderList

      public List<Tenant.Builder> getTenantsBuilderList()
       The resulting tenants.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant tenants = 10509;
    • getNextPageToken

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

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

      public ListTenantsResponse.Builder setNextPageToken(String value)
       If present, the next page token can be provided to a subsequent
       ListTenants 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 ListTenantsResponse.Builder clearNextPageToken()
       If present, the next page token can be provided to a subsequent
       ListTenants 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 ListTenantsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If present, the next page token can be provided to a subsequent
       ListTenants 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 ListTenantsResponseOrBuilder
      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 ListTenantsResponseOrBuilder
      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 ListTenantsResponseOrBuilder
      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 ListTenantsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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