Class CreateStudyRequest.Builder (3.84.0)

public static final class CreateStudyRequest.Builder extends GeneratedMessage.Builder<CreateStudyRequest.Builder> implements CreateStudyRequestOrBuilder

Request message for VizierService.CreateStudy.

Protobuf type google.cloud.aiplatform.v1.CreateStudyRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateStudyRequest build()
Returns
Type Description
CreateStudyRequest

buildPartial()

public CreateStudyRequest buildPartial()
Returns
Type Description
CreateStudyRequest

clear()

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

clearParent()

public CreateStudyRequest.Builder clearParent()

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

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

Returns
Type Description
CreateStudyRequest.Builder

This builder for chaining.

clearStudy()

public CreateStudyRequest.Builder clearStudy()

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateStudyRequest.Builder

getDefaultInstanceForType()

public CreateStudyRequest getDefaultInstanceForType()
Returns
Type Description
CreateStudyRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

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

Returns
Type Description
ByteString

The bytes for parent.

getStudy()

public Study getStudy()

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Study

The study.

getStudyBuilder()

public Study.Builder getStudyBuilder()

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Study.Builder

getStudyOrBuilder()

public StudyOrBuilder getStudyOrBuilder()

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudyOrBuilder

hasStudy()

public boolean hasStudy()

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the study field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateStudyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStudy(Study value)

public CreateStudyRequest.Builder mergeStudy(Study value)

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Study
Returns
Type Description
CreateStudyRequest.Builder

setParent(String value)

public CreateStudyRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateStudyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateStudyRequest.Builder setParentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateStudyRequest.Builder

This builder for chaining.

setStudy(Study value)

public CreateStudyRequest.Builder setStudy(Study value)

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Study
Returns
Type Description
CreateStudyRequest.Builder

setStudy(Study.Builder builderForValue)

public CreateStudyRequest.Builder setStudy(Study.Builder builderForValue)

Required. The Study configuration used to create the Study.

.google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Study.Builder
Returns
Type Description
CreateStudyRequest.Builder