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.
|