Class PublisherModel.CallToAction.ViewRestApi.Builder (3.19.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.v1beta1.PublisherModel.CallToAction.ViewRestApi

Static Methods

getDescriptor()

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

Methods

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

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

Required.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.PublisherModel.Documentation>
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentations(PublisherModel.Documentation value)

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

Required.

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

Parameter
NameDescription
valuePublisherModel.Documentation
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentations(PublisherModel.Documentation.Builder builderForValue)

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

Required.

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

Parameter
NameDescription
builderForValuePublisherModel.Documentation.Builder
Returns
TypeDescription
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.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valuePublisherModel.Documentation
Returns
TypeDescription
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.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValuePublisherModel.Documentation.Builder
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

addDocumentationsBuilder()

public PublisherModel.Documentation.Builder addDocumentationsBuilder()

Required.

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

Returns
TypeDescription
PublisherModel.Documentation.Builder

addDocumentationsBuilder(int index)

public PublisherModel.Documentation.Builder addDocumentationsBuilder(int index)

Required.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.Documentation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublisherModel.CallToAction.ViewRestApi build()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi

buildPartial()

public PublisherModel.CallToAction.ViewRestApi buildPartial()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi

clear()

public PublisherModel.CallToAction.ViewRestApi.Builder clear()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

clearDocumentations()

public PublisherModel.CallToAction.ViewRestApi.Builder clearDocumentations()

Required.

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

Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.ViewRestApi.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

This builder for chaining.

clone()

public PublisherModel.CallToAction.ViewRestApi.Builder clone()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.ViewRestApi getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentations(int index)

public PublisherModel.Documentation getDocumentations(int index)

Required.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.Documentation

getDocumentationsBuilder(int index)

public PublisherModel.Documentation.Builder getDocumentationsBuilder(int index)

Required.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.Documentation.Builder

getDocumentationsBuilderList()

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

Required.

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

Returns
TypeDescription
List<Builder>

getDocumentationsCount()

public int getDocumentationsCount()

Required.

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

Returns
TypeDescription
int

getDocumentationsList()

public List<PublisherModel.Documentation> getDocumentationsList()

Required.

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

Returns
TypeDescription
List<Documentation>

getDocumentationsOrBuilder(int index)

public PublisherModel.DocumentationOrBuilder getDocumentationsOrBuilder(int index)

Required.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.DocumentationOrBuilder

getDocumentationsOrBuilderList()

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

Required.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.PublisherModel.DocumentationOrBuilder>

getTitle()

public String getTitle()

Required. The title of the view rest API.

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

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the view rest API.

string title = 2 [(.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.CallToAction.ViewRestApi other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.ViewRestApi.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

removeDocumentations(int index)

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

Required.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valuePublisherModel.Documentation
Returns
TypeDescription
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.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValuePublisherModel.Documentation.Builder
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.ViewRestApi.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The title to set.

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

The bytes for title to set.

Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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