Class VpnConnection.Details.CloudVpn.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnConnection.Details.CloudVpn.Builder>
com.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn.Builder
All Implemented Interfaces:
VpnConnection.Details.CloudVpnOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VpnConnection.Details.CloudVpn

public static final class VpnConnection.Details.CloudVpn.Builder extends com.google.protobuf.GeneratedMessage.Builder<VpnConnection.Details.CloudVpn.Builder> implements VpnConnection.Details.CloudVpnOrBuilder
 The Cloud VPN info.
 
Protobuf type google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn
  • 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<VpnConnection.Details.CloudVpn.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<VpnConnection.Details.CloudVpn.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<VpnConnection.Details.CloudVpn.Builder>
    • getDefaultInstanceForType

      public VpnConnection.Details.CloudVpn 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 VpnConnection.Details.CloudVpn buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public VpnConnection.Details.CloudVpn.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<VpnConnection.Details.CloudVpn.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<VpnConnection.Details.CloudVpn.Builder>
    • mergeFrom

      public VpnConnection.Details.CloudVpn.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<VpnConnection.Details.CloudVpn.Builder>
      Throws:
      IOException
    • getGateway

      public String getGateway()
       The created Cloud VPN gateway name.
       
      string gateway = 1;
      Specified by:
      getGateway in interface VpnConnection.Details.CloudVpnOrBuilder
      Returns:
      The gateway.
    • getGatewayBytes

      public com.google.protobuf.ByteString getGatewayBytes()
       The created Cloud VPN gateway name.
       
      string gateway = 1;
      Specified by:
      getGatewayBytes in interface VpnConnection.Details.CloudVpnOrBuilder
      Returns:
      The bytes for gateway.
    • setGateway

       The created Cloud VPN gateway name.
       
      string gateway = 1;
      Parameters:
      value - The gateway to set.
      Returns:
      This builder for chaining.
    • clearGateway

       The created Cloud VPN gateway name.
       
      string gateway = 1;
      Returns:
      This builder for chaining.
    • setGatewayBytes

      public VpnConnection.Details.CloudVpn.Builder setGatewayBytes(com.google.protobuf.ByteString value)
       The created Cloud VPN gateway name.
       
      string gateway = 1;
      Parameters:
      value - The bytes for gateway to set.
      Returns:
      This builder for chaining.