Class RoutingVPC.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RoutingVPC.Builder>
com.google.cloud.networkconnectivity.v1beta.RoutingVPC.Builder
All Implemented Interfaces:
RoutingVPCOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RoutingVPC

public static final class RoutingVPC.Builder extends com.google.protobuf.GeneratedMessage.Builder<RoutingVPC.Builder> implements RoutingVPCOrBuilder
 RoutingVPC contains information about the VPC networks associated
 with the spokes of a Network Connectivity Center hub.
 
Protobuf type google.cloud.networkconnectivity.v1beta.RoutingVPC
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Output only.
    The URI of the VPC network.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    boolean
    Output only.
    The URI of the VPC network.
    com.google.protobuf.ByteString
    The URI of the VPC network.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Output only.
    setUri(String value)
    The URI of the VPC network.
    setUriBytes(com.google.protobuf.ByteString value)
    The URI of the VPC network.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<RoutingVPC.Builder>
    • clear

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

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

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

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

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

      public RoutingVPC.Builder mergeFrom(RoutingVPC other)
    • isInitialized

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

      public RoutingVPC.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<RoutingVPC.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       The URI of the VPC network.
       
      string uri = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getUri in interface RoutingVPCOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       The URI of the VPC network.
       
      string uri = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getUriBytes in interface RoutingVPCOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public RoutingVPC.Builder setUri(String value)
       The URI of the VPC network.
       
      string uri = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public RoutingVPC.Builder clearUri()
       The URI of the VPC network.
       
      string uri = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setUriBytes

      public RoutingVPC.Builder setUriBytes(com.google.protobuf.ByteString value)
       The URI of the VPC network.
       
      string uri = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getRequiredForNewSiteToSiteDataTransferSpokes

      public boolean getRequiredForNewSiteToSiteDataTransferSpokes()
       Output only. If true, indicates that this VPC network is currently
       associated with spokes that use the data transfer feature (spokes where the
       site_to_site_data_transfer field is set to true). If you create new spokes
       that use data transfer, they must be associated with this VPC network. At
       most, one VPC network will have this field set to true.
       
      bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRequiredForNewSiteToSiteDataTransferSpokes in interface RoutingVPCOrBuilder
      Returns:
      The requiredForNewSiteToSiteDataTransferSpokes.
    • setRequiredForNewSiteToSiteDataTransferSpokes

      public RoutingVPC.Builder setRequiredForNewSiteToSiteDataTransferSpokes(boolean value)
       Output only. If true, indicates that this VPC network is currently
       associated with spokes that use the data transfer feature (spokes where the
       site_to_site_data_transfer field is set to true). If you create new spokes
       that use data transfer, they must be associated with this VPC network. At
       most, one VPC network will have this field set to true.
       
      bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The requiredForNewSiteToSiteDataTransferSpokes to set.
      Returns:
      This builder for chaining.
    • clearRequiredForNewSiteToSiteDataTransferSpokes

      public RoutingVPC.Builder clearRequiredForNewSiteToSiteDataTransferSpokes()
       Output only. If true, indicates that this VPC network is currently
       associated with spokes that use the data transfer feature (spokes where the
       site_to_site_data_transfer field is set to true). If you create new spokes
       that use data transfer, they must be associated with this VPC network. At
       most, one VPC network will have this field set to true.
       
      bool required_for_new_site_to_site_data_transfer_spokes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.