Class ContextualAddOnMarkup.Builder (0.6.0)

public static final class ContextualAddOnMarkup.Builder extends GeneratedMessageV3.Builder<ContextualAddOnMarkup.Builder> implements ContextualAddOnMarkupOrBuilder

The markup for developers to specify the contents of a contextual AddOn.

Protobuf type google.chat.v1.ContextualAddOnMarkup

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContextualAddOnMarkup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

build()

public ContextualAddOnMarkup build()
Returns
Type Description
ContextualAddOnMarkup

buildPartial()

public ContextualAddOnMarkup buildPartial()
Returns
Type Description
ContextualAddOnMarkup

clear()

public ContextualAddOnMarkup.Builder clear()
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContextualAddOnMarkup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContextualAddOnMarkup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

clone()

public ContextualAddOnMarkup.Builder clone()
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

getDefaultInstanceForType()

public ContextualAddOnMarkup getDefaultInstanceForType()
Returns
Type Description
ContextualAddOnMarkup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContextualAddOnMarkup other)

public ContextualAddOnMarkup.Builder mergeFrom(ContextualAddOnMarkup other)
Parameter
Name Description
other ContextualAddOnMarkup
Returns
Type Description
ContextualAddOnMarkup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContextualAddOnMarkup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ContextualAddOnMarkup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContextualAddOnMarkup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContextualAddOnMarkup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ContextualAddOnMarkup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContextualAddOnMarkup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContextualAddOnMarkup.Builder
Overrides