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.v1beta1.PublisherModel.Documentation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public PublisherModel.Documentation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PublisherModel.Documentation build()
public PublisherModel.Documentation buildPartial()
public PublisherModel.Documentation.Builder clear()
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];
public PublisherModel.Documentation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PublisherModel.Documentation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public PublisherModel.Documentation.Builder clone()
Overrides
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.
|
public PublisherModel.Documentation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PublisherModel.Documentation.Builder mergeFrom(PublisherModel.Documentation other)
public PublisherModel.Documentation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PublisherModel.Documentation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final PublisherModel.Documentation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
public PublisherModel.Documentation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PublisherModel.Documentation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.
|
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.
|
public final PublisherModel.Documentation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides