Class PublisherModel.Documentation.Builder (3.33.0)

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

A named piece of documentation.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublisherModel.Documentation build()
Returns
TypeDescription
PublisherModel.Documentation

buildPartial()

public PublisherModel.Documentation buildPartial()
Returns
TypeDescription
PublisherModel.Documentation

clear()

public PublisherModel.Documentation.Builder clear()
Returns
TypeDescription
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
TypeDescription
PublisherModel.Documentation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
PublisherModel.Documentation.Builder

This builder for chaining.

clone()

public PublisherModel.Documentation.Builder clone()
Returns
TypeDescription
PublisherModel.Documentation.Builder
Overrides

getContent()

public String getContent()

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

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for content.

getDefaultInstanceForType()

public PublisherModel.Documentation getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.Documentation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for title.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PublisherModel.Documentation other)

public PublisherModel.Documentation.Builder mergeFrom(PublisherModel.Documentation other)
Parameter
NameDescription
otherPublisherModel.Documentation
Returns
TypeDescription
PublisherModel.Documentation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.Documentation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The content to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for content to set.

Returns
TypeDescription
PublisherModel.Documentation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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
NameDescription
valueString

The title to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
PublisherModel.Documentation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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