Send feedback
Class OpenLink.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class OpenLink . Builder extends GeneratedMessageV3 . Builder<OpenLink . Builder > implements OpenLinkOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OpenLink . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public OpenLink buildPartial ()
clear()
public OpenLink . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public OpenLink . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOnClose()
public OpenLink . Builder clearOnClose ()
Whether the client forgets about a link after opening it, or observes it
until the window closes.
Google Workspace
Add-ons :
.google.apps.card.v1.OpenLink.OnClose on_close = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public OpenLink . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearOpenAs()
public OpenLink . Builder clearOpenAs ()
clearUrl()
public OpenLink . Builder clearUrl ()
The URL to open.
string url = 1;
clone()
public OpenLink . Builder clone ()
Overrides
getDefaultInstanceForType()
public OpenLink getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getOnClose()
public OpenLink . OnClose getOnClose ()
Whether the client forgets about a link after opening it, or observes it
until the window closes.
Google Workspace
Add-ons :
.google.apps.card.v1.OpenLink.OnClose on_close = 3;
getOnCloseValue()
public int getOnCloseValue ()
Whether the client forgets about a link after opening it, or observes it
until the window closes.
Google Workspace
Add-ons :
.google.apps.card.v1.OpenLink.OnClose on_close = 3;
Returns Type Description int
The enum numeric value on the wire for onClose.
getOpenAs()
public OpenLink . OpenAs getOpenAs ()
getOpenAsValue()
public int getOpenAsValue ()
Returns Type Description int
The enum numeric value on the wire for openAs.
getUrl()
The URL to open.
string url = 1;
Returns Type Description String
The url.
getUrlBytes()
public ByteString getUrlBytes ()
The URL to open.
string url = 1;
Returns Type Description ByteString
The bytes for url.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(OpenLink other)
public OpenLink . Builder mergeFrom ( OpenLink other )
public OpenLink . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public OpenLink . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OpenLink . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public OpenLink . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setOnClose(OpenLink.OnClose value)
public OpenLink . Builder setOnClose ( OpenLink . OnClose value )
Whether the client forgets about a link after opening it, or observes it
until the window closes.
Google Workspace
Add-ons :
.google.apps.card.v1.OpenLink.OnClose on_close = 3;
setOnCloseValue(int value)
public OpenLink . Builder setOnCloseValue ( int value )
Whether the client forgets about a link after opening it, or observes it
until the window closes.
Google Workspace
Add-ons :
.google.apps.card.v1.OpenLink.OnClose on_close = 3;
Parameter Name Description value
int
The enum numeric value on the wire for onClose to set.
setOpenAs(OpenLink.OpenAs value)
public OpenLink . Builder setOpenAs ( OpenLink . OpenAs value )
setOpenAsValue(int value)
public OpenLink . Builder setOpenAsValue ( int value )
Parameter Name Description value
int
The enum numeric value on the wire for openAs to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OpenLink . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OpenLink . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUrl(String value)
public OpenLink . Builder setUrl ( String value )
The URL to open.
string url = 1;
Parameter Name Description value
String
The url to set.
setUrlBytes(ByteString value)
public OpenLink . Builder setUrlBytes ( ByteString value )
The URL to open.
string url = 1;
Parameter Name Description value
ByteString
The bytes for url to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]