Class PublisherModel.Documentation.Builder (3.84.0)

public static final class PublisherModel.Documentation.Builder extends GeneratedMessage.Builder<PublisherModel.Documentation.Builder> implements PublisherModel.DocumentationOrBuilder

A named piece of documentation.

Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.Documentation

Static Methods

getDescriptor()

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

Methods

build()

public PublisherModel.Documentation build()
Returns
Type Description
PublisherModel.Documentation

buildPartial()

public PublisherModel.Documentation buildPartial()
Returns
Type Description
PublisherModel.Documentation

clear()

public PublisherModel.Documentation.Builder clear()
Returns
Type Description
PublisherModel.Documentation.Builder
Overrides

clearContent()

public PublisherModel.Documentation.Builder clearContent()

Required. Content of this piece of document (in Markdown format).

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

Returns
Type Description
PublisherModel.Documentation.Builder

This builder for chaining.

clearTitle()

public PublisherModel.Documentation.Builder clearTitle()

Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc..

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

Returns
Type Description
PublisherModel.Documentation.Builder

This builder for chaining.

getContent()

public String getContent()

Required. Content of this piece of document (in Markdown format).

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

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Required. Content of this piece of document (in Markdown format).

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

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public PublisherModel.Documentation getDefaultInstanceForType()
Returns
Type Description
PublisherModel.Documentation

getDescriptorForType()

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

getTitle()

public String getTitle()

Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc..

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

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc..

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

Returns
Type Description
ByteString

The bytes for title.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublisherModel.Documentation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContent(String value)

public PublisherModel.Documentation.Builder setContent(String value)

Required. Content of this piece of document (in Markdown format).

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

Parameter
Name Description
value String

The content to set.

Returns
Type Description
PublisherModel.Documentation.Builder

This builder for chaining.

setContentBytes(ByteString value)

public PublisherModel.Documentation.Builder setContentBytes(ByteString value)

Required. Content of this piece of document (in Markdown format).

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

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
PublisherModel.Documentation.Builder

This builder for chaining.

setTitle(String value)

public PublisherModel.Documentation.Builder setTitle(String value)

Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc..

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

Parameter
Name Description
value String

The title to set.

Returns
Type Description
PublisherModel.Documentation.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public PublisherModel.Documentation.Builder setTitleBytes(ByteString value)

Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc..

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

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
PublisherModel.Documentation.Builder

This builder for chaining.