Class ContextualAddOnMarkup.Builder (0.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContextualAddOnMarkup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

build()

public ContextualAddOnMarkup build()
Returns
TypeDescription
ContextualAddOnMarkup

buildPartial()

public ContextualAddOnMarkup buildPartial()
Returns
TypeDescription
ContextualAddOnMarkup

clear()

public ContextualAddOnMarkup.Builder clear()
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContextualAddOnMarkup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContextualAddOnMarkup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

clone()

public ContextualAddOnMarkup.Builder clone()
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

getDefaultInstanceForType()

public ContextualAddOnMarkup getDefaultInstanceForType()
Returns
TypeDescription
ContextualAddOnMarkup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ContextualAddOnMarkup other)

public ContextualAddOnMarkup.Builder mergeFrom(ContextualAddOnMarkup other)
Parameter
NameDescription
otherContextualAddOnMarkup
Returns
TypeDescription
ContextualAddOnMarkup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContextualAddOnMarkup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ContextualAddOnMarkup.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContextualAddOnMarkup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContextualAddOnMarkup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

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

public ContextualAddOnMarkup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContextualAddOnMarkup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContextualAddOnMarkup.Builder
Overrides