public static final class WidgetMarkup.OpenLink.Builder extends GeneratedMessageV3.Builder<WidgetMarkup.OpenLink.Builder> implements WidgetMarkup.OpenLinkOrBuilder
A link that opens a new window.
Protobuf type google.chat.v1.WidgetMarkup.OpenLink
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public WidgetMarkup.OpenLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WidgetMarkup.OpenLink build()
public WidgetMarkup.OpenLink buildPartial()
public WidgetMarkup.OpenLink.Builder clear()
Overrides
public WidgetMarkup.OpenLink.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public WidgetMarkup.OpenLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public WidgetMarkup.OpenLink.Builder clearUrl()
The URL to open.
string url = 1;
public WidgetMarkup.OpenLink.Builder clone()
Overrides
public WidgetMarkup.OpenLink getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The URL to open.
string url = 1;
Returns |
Type |
Description |
String |
The url.
|
public ByteString getUrlBytes()
The URL to open.
string url = 1;
Returns |
Type |
Description |
ByteString |
The bytes for url.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WidgetMarkup.OpenLink.Builder mergeFrom(WidgetMarkup.OpenLink other)
public WidgetMarkup.OpenLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public WidgetMarkup.OpenLink.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final WidgetMarkup.OpenLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public WidgetMarkup.OpenLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WidgetMarkup.OpenLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final WidgetMarkup.OpenLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public WidgetMarkup.OpenLink.Builder setUrl(String value)
The URL to open.
string url = 1;
Parameter |
Name |
Description |
value |
String
The url to set.
|
public WidgetMarkup.OpenLink.Builder setUrlBytes(ByteString value)
The URL to open.
string url = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for url to set.
|