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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WidgetMarkup.OpenLink.BuilderImplements
WidgetMarkup.OpenLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WidgetMarkup.OpenLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
build()
public WidgetMarkup.OpenLink build()
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink |
buildPartial()
public WidgetMarkup.OpenLink buildPartial()
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink |
clear()
public WidgetMarkup.OpenLink.Builder clear()
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
clearField(Descriptors.FieldDescriptor field)
public WidgetMarkup.OpenLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WidgetMarkup.OpenLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
clearUrl()
public WidgetMarkup.OpenLink.Builder clearUrl()
The URL to open.
string url = 1;
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder | This builder for chaining. |
clone()
public WidgetMarkup.OpenLink.Builder clone()
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
getDefaultInstanceForType()
public WidgetMarkup.OpenLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getUrl()
public String 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(WidgetMarkup.OpenLink other)
public WidgetMarkup.OpenLink.Builder mergeFrom(WidgetMarkup.OpenLink other)
Parameter | |
---|---|
Name | Description |
other | WidgetMarkup.OpenLink |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WidgetMarkup.OpenLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public WidgetMarkup.OpenLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WidgetMarkup.OpenLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public WidgetMarkup.OpenLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WidgetMarkup.OpenLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final WidgetMarkup.OpenLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder |
setUrl(String value)
public WidgetMarkup.OpenLink.Builder setUrl(String value)
The URL to open.
string url = 1;
Parameter | |
---|---|
Name | Description |
value | String The url to set. |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder | This builder for chaining. |
setUrlBytes(ByteString value)
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. |
Returns | |
---|---|
Type | Description |
WidgetMarkup.OpenLink.Builder | This builder for chaining. |