Class ReasoningEngineSpec.Builder (3.41.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.protobuf.Struct>
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueStruct
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReasoningEngineSpec build()
Returns
TypeDescription
ReasoningEngineSpec

buildPartial()

public ReasoningEngineSpec buildPartial()
Returns
TypeDescription
ReasoningEngineSpec

clear()

public ReasoningEngineSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReasoningEngineSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public ReasoningEngineSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReasoningEngineSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ReasoningEngineSpec.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.protobuf.StructOrBuilder>

getDefaultInstanceForType()

public ReasoningEngineSpec getDefaultInstanceForType()
Returns
TypeDescription
ReasoningEngineSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the packageSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReasoningEngineSpec other)

public ReasoningEngineSpec.Builder mergeFrom(ReasoningEngineSpec other)
Parameter
NameDescription
otherReasoningEngineSpec
Returns
TypeDescription
ReasoningEngineSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReasoningEngineSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReasoningEngineSpec.PackageSpec
Returns
TypeDescription
ReasoningEngineSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueStruct
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
ReasoningEngineSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReasoningEngineSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReasoningEngineSpec.PackageSpec
Returns
TypeDescription
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
NameDescription
builderForValueReasoningEngineSpec.PackageSpec.Builder
Returns
TypeDescription
ReasoningEngineSpec.Builder

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

public ReasoningEngineSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReasoningEngineSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReasoningEngineSpec.Builder
Overrides