Class ListUnitKindsResponse.Builder

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

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

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

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

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

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

      public ListUnitKindsResponse.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<ListUnitKindsResponse.Builder>
      Throws:
      IOException
    • getUnitKindsList

      public List<UnitKind> getUnitKindsList()
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
      Specified by:
      getUnitKindsList in interface ListUnitKindsResponseOrBuilder
    • getUnitKindsCount

      public int getUnitKindsCount()
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
      Specified by:
      getUnitKindsCount in interface ListUnitKindsResponseOrBuilder
    • getUnitKinds

      public UnitKind getUnitKinds(int index)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
      Specified by:
      getUnitKinds in interface ListUnitKindsResponseOrBuilder
    • setUnitKinds

      public ListUnitKindsResponse.Builder setUnitKinds(int index, UnitKind value)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • setUnitKinds

      public ListUnitKindsResponse.Builder setUnitKinds(int index, UnitKind.Builder builderForValue)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • addUnitKinds

      public ListUnitKindsResponse.Builder addUnitKinds(UnitKind value)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • addUnitKinds

      public ListUnitKindsResponse.Builder addUnitKinds(int index, UnitKind value)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • addUnitKinds

      public ListUnitKindsResponse.Builder addUnitKinds(UnitKind.Builder builderForValue)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • addUnitKinds

      public ListUnitKindsResponse.Builder addUnitKinds(int index, UnitKind.Builder builderForValue)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • addAllUnitKinds

      public ListUnitKindsResponse.Builder addAllUnitKinds(Iterable<? extends UnitKind> values)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • clearUnitKinds

      public ListUnitKindsResponse.Builder clearUnitKinds()
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • removeUnitKinds

      public ListUnitKindsResponse.Builder removeUnitKinds(int index)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • getUnitKindsBuilder

      public UnitKind.Builder getUnitKindsBuilder(int index)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • getUnitKindsOrBuilder

      public UnitKindOrBuilder getUnitKindsOrBuilder(int index)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
      Specified by:
      getUnitKindsOrBuilder in interface ListUnitKindsResponseOrBuilder
    • getUnitKindsOrBuilderList

      public List<? extends UnitKindOrBuilder> getUnitKindsOrBuilderList()
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
      Specified by:
      getUnitKindsOrBuilderList in interface ListUnitKindsResponseOrBuilder
    • addUnitKindsBuilder

      public UnitKind.Builder addUnitKindsBuilder()
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • addUnitKindsBuilder

      public UnitKind.Builder addUnitKindsBuilder(int index)
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • getUnitKindsBuilderList

      public List<UnitKind.Builder> getUnitKindsBuilderList()
       The resulting unit kinds.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind unit_kinds = 10509;
    • getNextPageToken

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

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

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

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

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