Class PublisherModel.CallToAction.OpenNotebooks.Builder (3.52.0)

public static final class PublisherModel.CallToAction.OpenNotebooks.Builder extends GeneratedMessageV3.Builder<PublisherModel.CallToAction.OpenNotebooks.Builder> implements PublisherModel.CallToAction.OpenNotebooksOrBuilder

Open notebooks.

Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.OpenNotebooks

Static Methods

getDescriptor()

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

Methods

addAllNotebooks(Iterable<? extends PublisherModel.CallToAction.RegionalResourceReferences> values)

public PublisherModel.CallToAction.OpenNotebooks.Builder addAllNotebooks(Iterable<? extends PublisherModel.CallToAction.RegionalResourceReferences> values)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences>
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

addNotebooks(PublisherModel.CallToAction.RegionalResourceReferences value)

public PublisherModel.CallToAction.OpenNotebooks.Builder addNotebooks(PublisherModel.CallToAction.RegionalResourceReferences value)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PublisherModel.CallToAction.RegionalResourceReferences
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

addNotebooks(PublisherModel.CallToAction.RegionalResourceReferences.Builder builderForValue)

public PublisherModel.CallToAction.OpenNotebooks.Builder addNotebooks(PublisherModel.CallToAction.RegionalResourceReferences.Builder builderForValue)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PublisherModel.CallToAction.RegionalResourceReferences.Builder
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

addNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences value)

public PublisherModel.CallToAction.OpenNotebooks.Builder addNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences value)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value PublisherModel.CallToAction.RegionalResourceReferences
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

addNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences.Builder builderForValue)

public PublisherModel.CallToAction.OpenNotebooks.Builder addNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences.Builder builderForValue)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue PublisherModel.CallToAction.RegionalResourceReferences.Builder
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

addNotebooksBuilder()

public PublisherModel.CallToAction.RegionalResourceReferences.Builder addNotebooksBuilder()

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences.Builder

addNotebooksBuilder(int index)

public PublisherModel.CallToAction.RegionalResourceReferences.Builder addNotebooksBuilder(int index)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotebooks()

public PublisherModel.CallToAction.OpenNotebooks.Builder clearNotebooks()

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getNotebooks(int index)

public PublisherModel.CallToAction.RegionalResourceReferences getNotebooks(int index)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferences

getNotebooksBuilder(int index)

public PublisherModel.CallToAction.RegionalResourceReferences.Builder getNotebooksBuilder(int index)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

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

getNotebooksBuilderList()

public List<PublisherModel.CallToAction.RegionalResourceReferences.Builder> getNotebooksBuilderList()

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getNotebooksCount()

public int getNotebooksCount()

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getNotebooksList()

public List<PublisherModel.CallToAction.RegionalResourceReferences> getNotebooksList()

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<RegionalResourceReferences>

getNotebooksOrBuilder(int index)

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getNotebooksOrBuilder(int index)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getNotebooksOrBuilderList()

public List<? extends PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder> getNotebooksOrBuilderList()

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublisherModel.CallToAction.OpenNotebooks other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNotebooks(int index)

public PublisherModel.CallToAction.OpenNotebooks.Builder removeNotebooks(int index)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences value)

public PublisherModel.CallToAction.OpenNotebooks.Builder setNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences value)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value PublisherModel.CallToAction.RegionalResourceReferences
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

setNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences.Builder builderForValue)

public PublisherModel.CallToAction.OpenNotebooks.Builder setNotebooks(int index, PublisherModel.CallToAction.RegionalResourceReferences.Builder builderForValue)

Required. Regional resource references to notebooks.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue PublisherModel.CallToAction.RegionalResourceReferences.Builder
Returns
Type Description
PublisherModel.CallToAction.OpenNotebooks.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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