Class ReasoningEngineSpec.Builder (3.42.0)

public static final class ReasoningEngineSpec.Builder extends GeneratedMessageV3.Builder<ReasoningEngineSpec.Builder> implements ReasoningEngineSpecOrBuilder

ReasoningEngine configurations

Protobuf type google.cloud.aiplatform.v1beta1.ReasoningEngineSpec

Static Methods

getDescriptor()

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

Methods

addAllClassMethods(Iterable<? extends Struct> values)

public ReasoningEngineSpec.Builder addAllClassMethods(Iterable<? extends Struct> values)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.protobuf.Struct>
Returns
Type Description
ReasoningEngineSpec.Builder

addClassMethods(Struct value)

public ReasoningEngineSpec.Builder addClassMethods(Struct value)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
ReasoningEngineSpec.Builder

addClassMethods(Struct.Builder builderForValue)

public ReasoningEngineSpec.Builder addClassMethods(Struct.Builder builderForValue)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReasoningEngineSpec.Builder

addClassMethods(int index, Struct value)

public ReasoningEngineSpec.Builder addClassMethods(int index, Struct value)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Struct
Returns
Type Description
ReasoningEngineSpec.Builder

addClassMethods(int index, Struct.Builder builderForValue)

public ReasoningEngineSpec.Builder addClassMethods(int index, Struct.Builder builderForValue)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
ReasoningEngineSpec.Builder

addClassMethodsBuilder()

public Struct.Builder addClassMethodsBuilder()

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

addClassMethodsBuilder(int index)

public Struct.Builder addClassMethodsBuilder(int index)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReasoningEngineSpec build()
Returns
Type Description
ReasoningEngineSpec

buildPartial()

public ReasoningEngineSpec buildPartial()
Returns
Type Description
ReasoningEngineSpec

clear()

public ReasoningEngineSpec.Builder clear()
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides

clearClassMethods()

public ReasoningEngineSpec.Builder clearClassMethods()

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public ReasoningEngineSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReasoningEngineSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides

clearPackageSpec()

public ReasoningEngineSpec.Builder clearPackageSpec()

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReasoningEngineSpec.Builder

clone()

public ReasoningEngineSpec.Builder clone()
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides

getClassMethods(int index)

public Struct getClassMethods(int index)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Struct

getClassMethodsBuilder(int index)

public Struct.Builder getClassMethodsBuilder(int index)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Builder

getClassMethodsBuilderList()

public List<Struct.Builder> getClassMethodsBuilderList()

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getClassMethodsCount()

public int getClassMethodsCount()

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getClassMethodsList()

public List<Struct> getClassMethodsList()

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Struct>

getClassMethodsOrBuilder(int index)

public StructOrBuilder getClassMethodsOrBuilder(int index)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StructOrBuilder

getClassMethodsOrBuilderList()

public List<? extends StructOrBuilder> getClassMethodsOrBuilderList()

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.protobuf.StructOrBuilder>

getDefaultInstanceForType()

public ReasoningEngineSpec getDefaultInstanceForType()
Returns
Type Description
ReasoningEngineSpec

getDescriptorForType()

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

getPackageSpec()

public ReasoningEngineSpec.PackageSpec getPackageSpec()

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReasoningEngineSpec.PackageSpec

The packageSpec.

getPackageSpecBuilder()

public ReasoningEngineSpec.PackageSpec.Builder getPackageSpecBuilder()

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReasoningEngineSpec.PackageSpec.Builder

getPackageSpecOrBuilder()

public ReasoningEngineSpec.PackageSpecOrBuilder getPackageSpecOrBuilder()

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReasoningEngineSpec.PackageSpecOrBuilder

hasPackageSpec()

public boolean hasPackageSpec()

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the packageSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReasoningEngineSpec other)

public ReasoningEngineSpec.Builder mergeFrom(ReasoningEngineSpec other)
Parameter
Name Description
other ReasoningEngineSpec
Returns
Type Description
ReasoningEngineSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReasoningEngineSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides

mergePackageSpec(ReasoningEngineSpec.PackageSpec value)

public ReasoningEngineSpec.Builder mergePackageSpec(ReasoningEngineSpec.PackageSpec value)

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReasoningEngineSpec.PackageSpec
Returns
Type Description
ReasoningEngineSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides

removeClassMethods(int index)

public ReasoningEngineSpec.Builder removeClassMethods(int index)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReasoningEngineSpec.Builder

setClassMethods(int index, Struct value)

public ReasoningEngineSpec.Builder setClassMethods(int index, Struct value)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Struct
Returns
Type Description
ReasoningEngineSpec.Builder

setClassMethods(int index, Struct.Builder builderForValue)

public ReasoningEngineSpec.Builder setClassMethods(int index, Struct.Builder builderForValue)

Optional. Declarations for object class methods.

repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
ReasoningEngineSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPackageSpec(ReasoningEngineSpec.PackageSpec value)

public ReasoningEngineSpec.Builder setPackageSpec(ReasoningEngineSpec.PackageSpec value)

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReasoningEngineSpec.PackageSpec
Returns
Type Description
ReasoningEngineSpec.Builder

setPackageSpec(ReasoningEngineSpec.PackageSpec.Builder builderForValue)

public ReasoningEngineSpec.Builder setPackageSpec(ReasoningEngineSpec.PackageSpec.Builder builderForValue)

Required. User provided package spec of the ReasoningEngine.

.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ReasoningEngineSpec.PackageSpec.Builder
Returns
Type Description
ReasoningEngineSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReasoningEngineSpec.Builder
Overrides