Class Markdown.Builder (0.31.0)

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

Markdown config for a dashboard tile.

Protobuf type google.cloud.chronicle.v1.Markdown

Implements

MarkdownOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Markdown build()
Returns
Type Description
Markdown

buildPartial()

public Markdown buildPartial()
Returns
Type Description
Markdown

clear()

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

clearContent()

public Markdown.Builder clearContent()

Required. Markdown content.

string content = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Markdown.Builder

This builder for chaining.

clearProperties()

public Markdown.Builder clearProperties()

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Markdown.Builder

getContent()

public String getContent()

Required. Markdown content.

string content = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Required. Markdown content.

string content = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public Markdown getDefaultInstanceForType()
Returns
Type Description
Markdown

getDescriptorForType()

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

getProperties()

public Markdown.MarkdownProperties getProperties()

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Markdown.MarkdownProperties

The properties.

getPropertiesBuilder()

public Markdown.MarkdownProperties.Builder getPropertiesBuilder()

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Markdown.MarkdownProperties.Builder

getPropertiesOrBuilder()

public Markdown.MarkdownPropertiesOrBuilder getPropertiesOrBuilder()

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Markdown.MarkdownPropertiesOrBuilder

hasProperties()

public boolean hasProperties()

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Markdown other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(Markdown.MarkdownProperties value)

public Markdown.Builder mergeProperties(Markdown.MarkdownProperties value)

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Markdown.MarkdownProperties
Returns
Type Description
Markdown.Builder

setContent(String value)

public Markdown.Builder setContent(String value)

Required. Markdown content.

string content = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The content to set.

Returns
Type Description
Markdown.Builder

This builder for chaining.

setContentBytes(ByteString value)

public Markdown.Builder setContentBytes(ByteString value)

Required. Markdown content.

string content = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
Markdown.Builder

This builder for chaining.

setProperties(Markdown.MarkdownProperties value)

public Markdown.Builder setProperties(Markdown.MarkdownProperties value)

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Markdown.MarkdownProperties
Returns
Type Description
Markdown.Builder

setProperties(Markdown.MarkdownProperties.Builder builderForValue)

public Markdown.Builder setProperties(Markdown.MarkdownProperties.Builder builderForValue)

Optional. Properties for the markdown.

.google.cloud.chronicle.v1.Markdown.MarkdownProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Markdown.MarkdownProperties.Builder
Returns
Type Description
Markdown.Builder