Interface OpenLinkOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    OpenLink, OpenLink.Builder

    public interface OpenLinkOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OpenLink.OnClose getOnClose()
      Whether the client forgets about a link after opening it, or observes it until the window closes.
      int getOnCloseValue()
      Whether the client forgets about a link after opening it, or observes it until the window closes.
      OpenLink.OpenAs getOpenAs()
      How to open a link.
      int getOpenAsValue()
      How to open a link.
      java.lang.String getUrl()
      The URL to open.
      com.google.protobuf.ByteString getUrlBytes()
      The URL to open.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getUrl

        java.lang.String getUrl()
         The URL to open.
         
        string url = 1;
        Returns:
        The url.
      • getUrlBytes

        com.google.protobuf.ByteString getUrlBytes()
         The URL to open.
         
        string url = 1;
        Returns:
        The bytes for url.
      • getOpenAsValue

        int getOpenAsValue()
         How to open a link.
        
         [Google Workspace
         Add-ons](https://developers.google.com/workspace/add-ons):
         
        .google.apps.card.v1.OpenLink.OpenAs open_as = 2;
        Returns:
        The enum numeric value on the wire for openAs.
      • getOpenAs

        OpenLink.OpenAs getOpenAs()
         How to open a link.
        
         [Google Workspace
         Add-ons](https://developers.google.com/workspace/add-ons):
         
        .google.apps.card.v1.OpenLink.OpenAs open_as = 2;
        Returns:
        The openAs.
      • getOnCloseValue

        int getOnCloseValue()
         Whether the client forgets about a link after opening it, or observes it
         until the window closes.
        
         [Google Workspace
         Add-ons](https://developers.google.com/workspace/add-ons):
         
        .google.apps.card.v1.OpenLink.OnClose on_close = 3;
        Returns:
        The enum numeric value on the wire for onClose.
      • getOnClose

        OpenLink.OnClose getOnClose()
         Whether the client forgets about a link after opening it, or observes it
         until the window closes.
        
         [Google Workspace
         Add-ons](https://developers.google.com/workspace/add-ons):
         
        .google.apps.card.v1.OpenLink.OnClose on_close = 3;
        Returns:
        The onClose.