Class Markdown.MarkdownProperties.Builder (0.31.0)

public static final class Markdown.MarkdownProperties.Builder extends GeneratedMessage.Builder<Markdown.MarkdownProperties.Builder> implements Markdown.MarkdownPropertiesOrBuilder

Properties for the markdown.

Protobuf type google.cloud.chronicle.v1.Markdown.MarkdownProperties

Static Methods

getDescriptor()

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

Methods

build()

public Markdown.MarkdownProperties build()
Returns
Type Description
Markdown.MarkdownProperties

buildPartial()

public Markdown.MarkdownProperties buildPartial()
Returns
Type Description
Markdown.MarkdownProperties

clear()

public Markdown.MarkdownProperties.Builder clear()
Returns
Type Description
Markdown.MarkdownProperties.Builder
Overrides

clearBackgroundColor()

public Markdown.MarkdownProperties.Builder clearBackgroundColor()

Optional. Background color of the markdown.

string background_color = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Markdown.MarkdownProperties.Builder

This builder for chaining.

getBackgroundColor()

public String getBackgroundColor()

Optional. Background color of the markdown.

string background_color = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The backgroundColor.

getBackgroundColorBytes()

public ByteString getBackgroundColorBytes()

Optional. Background color of the markdown.

string background_color = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for backgroundColor.

getDefaultInstanceForType()

public Markdown.MarkdownProperties getDefaultInstanceForType()
Returns
Type Description
Markdown.MarkdownProperties

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Markdown.MarkdownProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBackgroundColor(String value)

public Markdown.MarkdownProperties.Builder setBackgroundColor(String value)

Optional. Background color of the markdown.

string background_color = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The backgroundColor to set.

Returns
Type Description
Markdown.MarkdownProperties.Builder

This builder for chaining.

setBackgroundColorBytes(ByteString value)

public Markdown.MarkdownProperties.Builder setBackgroundColorBytes(ByteString value)

Optional. Background color of the markdown.

string background_color = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for backgroundColor to set.

Returns
Type Description
Markdown.MarkdownProperties.Builder

This builder for chaining.