Class PublisherModel.CallToAction.OpenNotebooks.Builder (3.38.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.v1.PublisherModel.CallToAction.OpenNotebooks

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences>
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePublisherModel.CallToAction.RegionalResourceReferences
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuePublisherModel.CallToAction.RegionalResourceReferences.Builder
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valuePublisherModel.CallToAction.RegionalResourceReferences
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValuePublisherModel.CallToAction.RegionalResourceReferences.Builder
Returns
TypeDescription
PublisherModel.CallToAction.OpenNotebooks.Builder

addNotebooksBuilder()

public PublisherModel.CallToAction.RegionalResourceReferences.Builder addNotebooksBuilder()

Required. Regional resource references to notebooks.

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

Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotebooks()

public PublisherModel.CallToAction.OpenNotebooks.Builder clearNotebooks()

Required. Regional resource references to notebooks.

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

Returns
TypeDescription
PublisherModel.CallToAction.OpenNotebooks.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNotebooks(int index)

public PublisherModel.CallToAction.RegionalResourceReferences getNotebooks(int index)

Required. Regional resource references to notebooks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences

getNotebooksBuilder(int index)

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

Required. Regional resource references to notebooks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferences.Builder

getNotebooksBuilderList()

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

Required. Regional resource references to notebooks.

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

Returns
TypeDescription
List<Builder>

getNotebooksCount()

public int getNotebooksCount()

Required. Regional resource references to notebooks.

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

Returns
TypeDescription
int

getNotebooksList()

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

Required. Regional resource references to notebooks.

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

Returns
TypeDescription
List<RegionalResourceReferences>

getNotebooksOrBuilder(int index)

public PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder getNotebooksOrBuilder(int index)

Required. Regional resource references to notebooks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder

getNotebooksOrBuilderList()

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

Required. Regional resource references to notebooks.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PublisherModel.CallToAction.OpenNotebooks other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.OpenNotebooks.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.CallToAction.OpenNotebooks.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.OpenNotebooks.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valuePublisherModel.CallToAction.RegionalResourceReferences
Returns
TypeDescription
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.v1.PublisherModel.CallToAction.RegionalResourceReferences notebooks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValuePublisherModel.CallToAction.RegionalResourceReferences.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PublisherModel.CallToAction.OpenNotebooks.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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