Class PublisherModel.CallToAction.ViewRestApi.Builder (3.46.0)

public static final class PublisherModel.CallToAction.ViewRestApi.Builder extends GeneratedMessageV3.Builder<PublisherModel.CallToAction.ViewRestApi.Builder> implements PublisherModel.CallToAction.ViewRestApiOrBuilder

Rest API docs.

Protobuf type google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApi

Static Methods

getDescriptor()

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

Methods

addAllDocumentations(Iterable<? extends PublisherModel.Documentation> values)

public PublisherModel.CallToAction.ViewRestApi.Builder addAllDocumentations(Iterable<? extends PublisherModel.Documentation> values)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.PublisherModel.Documentation>
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentations(PublisherModel.Documentation value)

public PublisherModel.CallToAction.ViewRestApi.Builder addDocumentations(PublisherModel.Documentation value)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PublisherModel.Documentation
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentations(PublisherModel.Documentation.Builder builderForValue)

public PublisherModel.CallToAction.ViewRestApi.Builder addDocumentations(PublisherModel.Documentation.Builder builderForValue)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PublisherModel.Documentation.Builder
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentations(int index, PublisherModel.Documentation value)

public PublisherModel.CallToAction.ViewRestApi.Builder addDocumentations(int index, PublisherModel.Documentation value)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value PublisherModel.Documentation
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentations(int index, PublisherModel.Documentation.Builder builderForValue)

public PublisherModel.CallToAction.ViewRestApi.Builder addDocumentations(int index, PublisherModel.Documentation.Builder builderForValue)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue PublisherModel.Documentation.Builder
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentationsBuilder()

public PublisherModel.Documentation.Builder addDocumentationsBuilder()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PublisherModel.Documentation.Builder

addDocumentationsBuilder(int index)

public PublisherModel.Documentation.Builder addDocumentationsBuilder(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.Documentation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.ViewRestApi.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

build()

public PublisherModel.CallToAction.ViewRestApi build()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi

buildPartial()

public PublisherModel.CallToAction.ViewRestApi buildPartial()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi

clear()

public PublisherModel.CallToAction.ViewRestApi.Builder clear()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

clearDocumentations()

public PublisherModel.CallToAction.ViewRestApi.Builder clearDocumentations()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

clearField(Descriptors.FieldDescriptor field)

public PublisherModel.CallToAction.ViewRestApi.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.ViewRestApi.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

clearTitle()

public PublisherModel.CallToAction.ViewRestApi.Builder clearTitle()

Required. The title of the view rest API.

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

Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

This builder for chaining.

clone()

public PublisherModel.CallToAction.ViewRestApi.Builder clone()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.ViewRestApi getDefaultInstanceForType()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi

getDescriptorForType()

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

getDocumentations(int index)

public PublisherModel.Documentation getDocumentations(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.Documentation

getDocumentationsBuilder(int index)

public PublisherModel.Documentation.Builder getDocumentationsBuilder(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.Documentation.Builder

getDocumentationsBuilderList()

public List<PublisherModel.Documentation.Builder> getDocumentationsBuilderList()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getDocumentationsCount()

public int getDocumentationsCount()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDocumentationsList()

public List<PublisherModel.Documentation> getDocumentationsList()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Documentation>

getDocumentationsOrBuilder(int index)

public PublisherModel.DocumentationOrBuilder getDocumentationsOrBuilder(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.DocumentationOrBuilder

getDocumentationsOrBuilderList()

public List<? extends PublisherModel.DocumentationOrBuilder> getDocumentationsOrBuilderList()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.PublisherModel.DocumentationOrBuilder>

getTitle()

public String getTitle()

Required. The title of the view rest API.

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

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the view rest API.

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

Returns
Type Description
ByteString

The bytes for title.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublisherModel.CallToAction.ViewRestApi other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.ViewRestApi.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

removeDocumentations(int index)

public PublisherModel.CallToAction.ViewRestApi.Builder removeDocumentations(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

setDocumentations(int index, PublisherModel.Documentation value)

public PublisherModel.CallToAction.ViewRestApi.Builder setDocumentations(int index, PublisherModel.Documentation value)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value PublisherModel.Documentation
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

setDocumentations(int index, PublisherModel.Documentation.Builder builderForValue)

public PublisherModel.CallToAction.ViewRestApi.Builder setDocumentations(int index, PublisherModel.Documentation.Builder builderForValue)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue PublisherModel.Documentation.Builder
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.ViewRestApi.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

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

public PublisherModel.CallToAction.ViewRestApi.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

setTitle(String value)

public PublisherModel.CallToAction.ViewRestApi.Builder setTitle(String value)

Required. The title of the view rest API.

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

Parameter
Name Description
value String

The title to set.

Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public PublisherModel.CallToAction.ViewRestApi.Builder setTitleBytes(ByteString value)

Required. The title of the view rest API.

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

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.ViewRestApi.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides