Class VpnGatewayStatusTunnel.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • clear

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

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

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

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

        public VpnGatewayStatusTunnel.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • clearField

        public VpnGatewayStatusTunnel.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • clearOneof

        public VpnGatewayStatusTunnel.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • setRepeatedField

        public VpnGatewayStatusTunnel.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • addRepeatedField

        public VpnGatewayStatusTunnel.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • isInitialized

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

        public VpnGatewayStatusTunnel.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<VpnGatewayStatusTunnel.Builder>
        Throws:
        IOException
      • hasLocalGatewayInterface

        public boolean hasLocalGatewayInterface()
         The VPN gateway interface this VPN tunnel is associated with.
         
        optional uint32 local_gateway_interface = 158764330;
        Specified by:
        hasLocalGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
        Returns:
        Whether the localGatewayInterface field is set.
      • getLocalGatewayInterface

        public int getLocalGatewayInterface()
         The VPN gateway interface this VPN tunnel is associated with.
         
        optional uint32 local_gateway_interface = 158764330;
        Specified by:
        getLocalGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
        Returns:
        The localGatewayInterface.
      • setLocalGatewayInterface

        public VpnGatewayStatusTunnel.Builder setLocalGatewayInterface​(int value)
         The VPN gateway interface this VPN tunnel is associated with.
         
        optional uint32 local_gateway_interface = 158764330;
        Parameters:
        value - The localGatewayInterface to set.
        Returns:
        This builder for chaining.
      • clearLocalGatewayInterface

        public VpnGatewayStatusTunnel.Builder clearLocalGatewayInterface()
         The VPN gateway interface this VPN tunnel is associated with.
         
        optional uint32 local_gateway_interface = 158764330;
        Returns:
        This builder for chaining.
      • hasPeerGatewayInterface

        public boolean hasPeerGatewayInterface()
         The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
         
        optional uint32 peer_gateway_interface = 214380385;
        Specified by:
        hasPeerGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
        Returns:
        Whether the peerGatewayInterface field is set.
      • getPeerGatewayInterface

        public int getPeerGatewayInterface()
         The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
         
        optional uint32 peer_gateway_interface = 214380385;
        Specified by:
        getPeerGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
        Returns:
        The peerGatewayInterface.
      • setPeerGatewayInterface

        public VpnGatewayStatusTunnel.Builder setPeerGatewayInterface​(int value)
         The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
         
        optional uint32 peer_gateway_interface = 214380385;
        Parameters:
        value - The peerGatewayInterface to set.
        Returns:
        This builder for chaining.
      • clearPeerGatewayInterface

        public VpnGatewayStatusTunnel.Builder clearPeerGatewayInterface()
         The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
         
        optional uint32 peer_gateway_interface = 214380385;
        Returns:
        This builder for chaining.
      • hasTunnelUrl

        public boolean hasTunnelUrl()
         URL reference to the VPN tunnel.
         
        optional string tunnel_url = 78975256;
        Specified by:
        hasTunnelUrl in interface VpnGatewayStatusTunnelOrBuilder
        Returns:
        Whether the tunnelUrl field is set.
      • getTunnelUrlBytes

        public com.google.protobuf.ByteString getTunnelUrlBytes()
         URL reference to the VPN tunnel.
         
        optional string tunnel_url = 78975256;
        Specified by:
        getTunnelUrlBytes in interface VpnGatewayStatusTunnelOrBuilder
        Returns:
        The bytes for tunnelUrl.
      • setTunnelUrl

        public VpnGatewayStatusTunnel.Builder setTunnelUrl​(String value)
         URL reference to the VPN tunnel.
         
        optional string tunnel_url = 78975256;
        Parameters:
        value - The tunnelUrl to set.
        Returns:
        This builder for chaining.
      • clearTunnelUrl

        public VpnGatewayStatusTunnel.Builder clearTunnelUrl()
         URL reference to the VPN tunnel.
         
        optional string tunnel_url = 78975256;
        Returns:
        This builder for chaining.
      • setTunnelUrlBytes

        public VpnGatewayStatusTunnel.Builder setTunnelUrlBytes​(com.google.protobuf.ByteString value)
         URL reference to the VPN tunnel.
         
        optional string tunnel_url = 78975256;
        Parameters:
        value - The bytes for tunnelUrl to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final VpnGatewayStatusTunnel.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
      • mergeUnknownFields

        public final VpnGatewayStatusTunnel.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>