Class CreateStudyRequest.Builder (3.30.0)

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

Request message for VizierService.CreateStudy.

Protobuf type google.cloud.aiplatform.v1beta1.CreateStudyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateStudyRequest build()
Returns
TypeDescription
CreateStudyRequest

buildPartial()

public CreateStudyRequest buildPartial()
Returns
TypeDescription
CreateStudyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearStudy()

public CreateStudyRequest.Builder clearStudy()

Required. The Study configuration used to create the Study.

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

Returns
TypeDescription
CreateStudyRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateStudyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateStudyRequest

getDescriptorForType()

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

The bytes for parent.

getStudy()

public Study getStudy()

Required. The Study configuration used to create the Study.

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

Returns
TypeDescription
Study

The study.

getStudyBuilder()

public Study.Builder getStudyBuilder()

Required. The Study configuration used to create the Study.

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

Returns
TypeDescription
Study.Builder

getStudyOrBuilder()

public StudyOrBuilder getStudyOrBuilder()

Required. The Study configuration used to create the Study.

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

Returns
TypeDescription
StudyOrBuilder

hasStudy()

public boolean hasStudy()

Required. The Study configuration used to create the Study.

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

Returns
TypeDescription
boolean

Whether the study field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateStudyRequest other)

public CreateStudyRequest.Builder mergeFrom(CreateStudyRequest other)
Parameter
NameDescription
otherCreateStudyRequest
Returns
TypeDescription
CreateStudyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStudy(Study value)

public CreateStudyRequest.Builder mergeStudy(Study value)

Required. The Study configuration used to create the Study.

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

Parameter
NameDescription
valueStudy
Returns
TypeDescription
CreateStudyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateStudyRequest.Builder
Overrides

setStudy(Study value)

public CreateStudyRequest.Builder setStudy(Study value)

Required. The Study configuration used to create the Study.

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

Parameter
NameDescription
valueStudy
Returns
TypeDescription
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.v1beta1.Study study = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueStudy.Builder
Returns
TypeDescription
CreateStudyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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