Class ListOdbSubnetsResponse.Builder

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

public static final class ListOdbSubnetsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListOdbSubnetsResponse.Builder> implements ListOdbSubnetsResponseOrBuilder
 The response for `OdbSubnet.List`.
 
Protobuf type google.cloud.oracledatabase.v1.ListOdbSubnetsResponse
  • 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<ListOdbSubnetsResponse.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<ListOdbSubnetsResponse.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<ListOdbSubnetsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListOdbSubnetsResponse.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<ListOdbSubnetsResponse.Builder>
      Throws:
      IOException
    • getOdbSubnetsList

      public List<OdbSubnet> getOdbSubnetsList()
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
      Specified by:
      getOdbSubnetsList in interface ListOdbSubnetsResponseOrBuilder
    • getOdbSubnetsCount

      public int getOdbSubnetsCount()
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
      Specified by:
      getOdbSubnetsCount in interface ListOdbSubnetsResponseOrBuilder
    • getOdbSubnets

      public OdbSubnet getOdbSubnets(int index)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
      Specified by:
      getOdbSubnets in interface ListOdbSubnetsResponseOrBuilder
    • setOdbSubnets

      public ListOdbSubnetsResponse.Builder setOdbSubnets(int index, OdbSubnet value)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • setOdbSubnets

      public ListOdbSubnetsResponse.Builder setOdbSubnets(int index, OdbSubnet.Builder builderForValue)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • addOdbSubnets

      public ListOdbSubnetsResponse.Builder addOdbSubnets(OdbSubnet value)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • addOdbSubnets

      public ListOdbSubnetsResponse.Builder addOdbSubnets(int index, OdbSubnet value)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • addOdbSubnets

      public ListOdbSubnetsResponse.Builder addOdbSubnets(OdbSubnet.Builder builderForValue)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • addOdbSubnets

      public ListOdbSubnetsResponse.Builder addOdbSubnets(int index, OdbSubnet.Builder builderForValue)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • addAllOdbSubnets

      public ListOdbSubnetsResponse.Builder addAllOdbSubnets(Iterable<? extends OdbSubnet> values)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • clearOdbSubnets

      public ListOdbSubnetsResponse.Builder clearOdbSubnets()
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • removeOdbSubnets

      public ListOdbSubnetsResponse.Builder removeOdbSubnets(int index)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • getOdbSubnetsBuilder

      public OdbSubnet.Builder getOdbSubnetsBuilder(int index)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • getOdbSubnetsOrBuilder

      public OdbSubnetOrBuilder getOdbSubnetsOrBuilder(int index)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
      Specified by:
      getOdbSubnetsOrBuilder in interface ListOdbSubnetsResponseOrBuilder
    • getOdbSubnetsOrBuilderList

      public List<? extends OdbSubnetOrBuilder> getOdbSubnetsOrBuilderList()
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
      Specified by:
      getOdbSubnetsOrBuilderList in interface ListOdbSubnetsResponseOrBuilder
    • addOdbSubnetsBuilder

      public OdbSubnet.Builder addOdbSubnetsBuilder()
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • addOdbSubnetsBuilder

      public OdbSubnet.Builder addOdbSubnetsBuilder(int index)
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 1;
    • getOdbSubnetsBuilderList

      public List<OdbSubnet.Builder> getOdbSubnetsBuilderList()
       The list of ODB Subnets.
       
      repeated .google.cloud.oracledatabase.v1.OdbSubnet odb_subnets = 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 ListOdbSubnetsResponseOrBuilder
      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 ListOdbSubnetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListOdbSubnetsResponse.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 ListOdbSubnetsResponse.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 ListOdbSubnetsResponse.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()
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListOdbSubnetsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListOdbSubnetsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListOdbSubnetsResponseOrBuilder
      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)
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListOdbSubnetsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListOdbSubnetsResponse.Builder setUnreachable(int index, String value)
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      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 ListOdbSubnetsResponse.Builder addUnreachable(String value)
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListOdbSubnetsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListOdbSubnetsResponse.Builder clearUnreachable()
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListOdbSubnetsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable locations when listing resources across all locations using
       wildcard location '-'.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.