Class CreateReasoningEngineRequest.Builder (3.41.0)

public static final class CreateReasoningEngineRequest.Builder extends GeneratedMessageV3.Builder<CreateReasoningEngineRequest.Builder> implements CreateReasoningEngineRequestOrBuilder

Request message for ReasoningEngineService.CreateReasoningEngine.

Protobuf type google.cloud.aiplatform.v1beta1.CreateReasoningEngineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateReasoningEngineRequest build()
Returns
TypeDescription
CreateReasoningEngineRequest

buildPartial()

public CreateReasoningEngineRequest buildPartial()
Returns
TypeDescription
CreateReasoningEngineRequest

clear()

public CreateReasoningEngineRequest.Builder clear()
Returns
TypeDescription
CreateReasoningEngineRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateReasoningEngineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateReasoningEngineRequest.Builder
Overrides

clearParent()

public CreateReasoningEngineRequest.Builder clearParent()

Required. The resource name of the Location to create the ReasoningEngine in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateReasoningEngineRequest.Builder

This builder for chaining.

clearReasoningEngine()

public CreateReasoningEngineRequest.Builder clearReasoningEngine()

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateReasoningEngineRequest.Builder

clone()

public CreateReasoningEngineRequest.Builder clone()
Returns
TypeDescription
CreateReasoningEngineRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateReasoningEngineRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateReasoningEngineRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the Location to create the ReasoningEngine in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the ReasoningEngine in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getReasoningEngine()

public ReasoningEngine getReasoningEngine()

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReasoningEngine

The reasoningEngine.

getReasoningEngineBuilder()

public ReasoningEngine.Builder getReasoningEngineBuilder()

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReasoningEngine.Builder

getReasoningEngineOrBuilder()

public ReasoningEngineOrBuilder getReasoningEngineOrBuilder()

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReasoningEngineOrBuilder

hasReasoningEngine()

public boolean hasReasoningEngine()

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the reasoningEngine field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateReasoningEngineRequest other)

public CreateReasoningEngineRequest.Builder mergeFrom(CreateReasoningEngineRequest other)
Parameter
NameDescription
otherCreateReasoningEngineRequest
Returns
TypeDescription
CreateReasoningEngineRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateReasoningEngineRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateReasoningEngineRequest.Builder
Overrides

mergeReasoningEngine(ReasoningEngine value)

public CreateReasoningEngineRequest.Builder mergeReasoningEngine(ReasoningEngine value)

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueReasoningEngine
Returns
TypeDescription
CreateReasoningEngineRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateReasoningEngineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateReasoningEngineRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateReasoningEngineRequest.Builder setParent(String value)

Required. The resource name of the Location to create the ReasoningEngine in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateReasoningEngineRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateReasoningEngineRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the ReasoningEngine in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateReasoningEngineRequest.Builder

This builder for chaining.

setReasoningEngine(ReasoningEngine value)

public CreateReasoningEngineRequest.Builder setReasoningEngine(ReasoningEngine value)

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueReasoningEngine
Returns
TypeDescription
CreateReasoningEngineRequest.Builder

setReasoningEngine(ReasoningEngine.Builder builderForValue)

public CreateReasoningEngineRequest.Builder setReasoningEngine(ReasoningEngine.Builder builderForValue)

Required. The ReasoningEngine to create.

.google.cloud.aiplatform.v1beta1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueReasoningEngine.Builder
Returns
TypeDescription
CreateReasoningEngineRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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