Class NetworkEndpointGroupsScopedList.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public NetworkEndpointGroupsScopedList.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<NetworkEndpointGroupsScopedList.Builder>
      Throws:
      IOException
    • getNetworkEndpointGroupsList

      public List<NetworkEndpointGroup> getNetworkEndpointGroupsList()
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
      Specified by:
      getNetworkEndpointGroupsList in interface NetworkEndpointGroupsScopedListOrBuilder
    • getNetworkEndpointGroupsCount

      public int getNetworkEndpointGroupsCount()
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
      Specified by:
      getNetworkEndpointGroupsCount in interface NetworkEndpointGroupsScopedListOrBuilder
    • getNetworkEndpointGroups

      public NetworkEndpointGroup getNetworkEndpointGroups(int index)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
      Specified by:
      getNetworkEndpointGroups in interface NetworkEndpointGroupsScopedListOrBuilder
    • setNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder setNetworkEndpointGroups(int index, NetworkEndpointGroup value)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • setNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder setNetworkEndpointGroups(int index, NetworkEndpointGroup.Builder builderForValue)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • addNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(NetworkEndpointGroup value)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • addNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(int index, NetworkEndpointGroup value)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • addNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(NetworkEndpointGroup.Builder builderForValue)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • addNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder addNetworkEndpointGroups(int index, NetworkEndpointGroup.Builder builderForValue)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • addAllNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder addAllNetworkEndpointGroups(Iterable<? extends NetworkEndpointGroup> values)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • clearNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder clearNetworkEndpointGroups()
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • removeNetworkEndpointGroups

      public NetworkEndpointGroupsScopedList.Builder removeNetworkEndpointGroups(int index)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • getNetworkEndpointGroupsBuilder

      public NetworkEndpointGroup.Builder getNetworkEndpointGroupsBuilder(int index)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • getNetworkEndpointGroupsOrBuilder

      public NetworkEndpointGroupOrBuilder getNetworkEndpointGroupsOrBuilder(int index)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
      Specified by:
      getNetworkEndpointGroupsOrBuilder in interface NetworkEndpointGroupsScopedListOrBuilder
    • getNetworkEndpointGroupsOrBuilderList

      public List<? extends NetworkEndpointGroupOrBuilder> getNetworkEndpointGroupsOrBuilderList()
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
      Specified by:
      getNetworkEndpointGroupsOrBuilderList in interface NetworkEndpointGroupsScopedListOrBuilder
    • addNetworkEndpointGroupsBuilder

      public NetworkEndpointGroup.Builder addNetworkEndpointGroupsBuilder()
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • addNetworkEndpointGroupsBuilder

      public NetworkEndpointGroup.Builder addNetworkEndpointGroupsBuilder(int index)
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • getNetworkEndpointGroupsBuilderList

      public List<NetworkEndpointGroup.Builder> getNetworkEndpointGroupsBuilderList()
       Output only. [Output Only] The list ofnetwork
       endpoint groups that are contained in this scope.
       
      repeated .google.cloud.compute.v1.NetworkEndpointGroup network_endpoint_groups = 29346733;
    • hasWarning

      public boolean hasWarning()
       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface NetworkEndpointGroupsScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface NetworkEndpointGroupsScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public NetworkEndpointGroupsScopedList.Builder setWarning(Warning.Builder builderForValue)
       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public NetworkEndpointGroupsScopedList.Builder mergeWarning(Warning value)
       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       Output only. [Output Only] An informational warning that replaces the list of network
       endpoint groups when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface NetworkEndpointGroupsScopedListOrBuilder