Class ListZonesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListZonesResponse.Builder>
com.google.cloud.gdchardwaremanagement.v1alpha.ListZonesResponse.Builder
All Implemented Interfaces:
ListZonesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListZonesResponse

public static final class ListZonesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListZonesResponse.Builder> implements ListZonesResponseOrBuilder
 A list of zones.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ListZonesResponse
  • 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<ListZonesResponse.Builder>
    • clear

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

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

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

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

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

      public ListZonesResponse.Builder mergeFrom(ListZonesResponse other)
    • isInitialized

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

      public ListZonesResponse.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<ListZonesResponse.Builder>
      Throws:
      IOException
    • getZonesList

      public List<Zone> getZonesList()
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
      Specified by:
      getZonesList in interface ListZonesResponseOrBuilder
    • getZonesCount

      public int getZonesCount()
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
      Specified by:
      getZonesCount in interface ListZonesResponseOrBuilder
    • getZones

      public Zone getZones(int index)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
      Specified by:
      getZones in interface ListZonesResponseOrBuilder
    • setZones

      public ListZonesResponse.Builder setZones(int index, Zone value)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • setZones

      public ListZonesResponse.Builder setZones(int index, Zone.Builder builderForValue)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • addZones

      public ListZonesResponse.Builder addZones(Zone value)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • addZones

      public ListZonesResponse.Builder addZones(int index, Zone value)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • addZones

      public ListZonesResponse.Builder addZones(Zone.Builder builderForValue)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • addZones

      public ListZonesResponse.Builder addZones(int index, Zone.Builder builderForValue)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • addAllZones

      public ListZonesResponse.Builder addAllZones(Iterable<? extends Zone> values)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • clearZones

      public ListZonesResponse.Builder clearZones()
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • removeZones

      public ListZonesResponse.Builder removeZones(int index)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • getZonesBuilder

      public Zone.Builder getZonesBuilder(int index)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • getZonesOrBuilder

      public ZoneOrBuilder getZonesOrBuilder(int index)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
      Specified by:
      getZonesOrBuilder in interface ListZonesResponseOrBuilder
    • getZonesOrBuilderList

      public List<? extends ZoneOrBuilder> getZonesOrBuilderList()
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
      Specified by:
      getZonesOrBuilderList in interface ListZonesResponseOrBuilder
    • addZonesBuilder

      public Zone.Builder addZonesBuilder()
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • addZonesBuilder

      public Zone.Builder addZonesBuilder(int index)
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • getZonesBuilderList

      public List<Zone.Builder> getZonesBuilderList()
       The list of zones.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListZonesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListZonesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListZonesResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListZonesResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListZonesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      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. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListZonesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListZonesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListZonesResponseOrBuilder
      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. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListZonesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListZonesResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      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 ListZonesResponse.Builder addUnreachable(String value)
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListZonesResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListZonesResponse.Builder clearUnreachable()
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListZonesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached. Only used for queries to the wildcard
       location `-`. If non-empty, it indicates that the results are incomplete.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.