Class RoutersScopedList.Builder

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

public static final class RoutersScopedList.Builder extends com.google.protobuf.GeneratedMessage.Builder<RoutersScopedList.Builder> implements RoutersScopedListOrBuilder
 
Protobuf type google.cloud.compute.v1.RoutersScopedList
  • 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<RoutersScopedList.Builder>
    • clear

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

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

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

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

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

      public RoutersScopedList.Builder mergeFrom(RoutersScopedList other)
    • isInitialized

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

      public RoutersScopedList.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<RoutersScopedList.Builder>
      Throws:
      IOException
    • getRoutersList

      public List<Router> getRoutersList()
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
      Specified by:
      getRoutersList in interface RoutersScopedListOrBuilder
    • getRoutersCount

      public int getRoutersCount()
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
      Specified by:
      getRoutersCount in interface RoutersScopedListOrBuilder
    • getRouters

      public Router getRouters(int index)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
      Specified by:
      getRouters in interface RoutersScopedListOrBuilder
    • setRouters

      public RoutersScopedList.Builder setRouters(int index, Router value)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • setRouters

      public RoutersScopedList.Builder setRouters(int index, Router.Builder builderForValue)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • addRouters

      public RoutersScopedList.Builder addRouters(Router value)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • addRouters

      public RoutersScopedList.Builder addRouters(int index, Router value)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • addRouters

      public RoutersScopedList.Builder addRouters(Router.Builder builderForValue)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • addRouters

      public RoutersScopedList.Builder addRouters(int index, Router.Builder builderForValue)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • addAllRouters

      public RoutersScopedList.Builder addAllRouters(Iterable<? extends Router> values)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • clearRouters

      public RoutersScopedList.Builder clearRouters()
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • removeRouters

      public RoutersScopedList.Builder removeRouters(int index)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • getRoutersBuilder

      public Router.Builder getRoutersBuilder(int index)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • getRoutersOrBuilder

      public RouterOrBuilder getRoutersOrBuilder(int index)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
      Specified by:
      getRoutersOrBuilder in interface RoutersScopedListOrBuilder
    • getRoutersOrBuilderList

      public List<? extends RouterOrBuilder> getRoutersOrBuilderList()
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
      Specified by:
      getRoutersOrBuilderList in interface RoutersScopedListOrBuilder
    • addRoutersBuilder

      public Router.Builder addRoutersBuilder()
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • addRoutersBuilder

      public Router.Builder addRoutersBuilder(int index)
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • getRoutersBuilderList

      public List<Router.Builder> getRoutersBuilderList()
       A list of routers contained in this scope.
       
      repeated .google.cloud.compute.v1.Router routers = 311906890;
    • hasWarning

      public boolean hasWarning()
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface RoutersScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface RoutersScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public RoutersScopedList.Builder setWarning(Warning value)
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public RoutersScopedList.Builder setWarning(Warning.Builder builderForValue)
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public RoutersScopedList.Builder mergeWarning(Warning value)
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public RoutersScopedList.Builder clearWarning()
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Informational warning which replaces the list of routers when
       the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface RoutersScopedListOrBuilder