Class CreateStudyRequest.Builder (3.45.0)

public static final class CreateStudyRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateStudyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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