public static final class Study.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder> implements StudyOrBuilder
A message representing a Study.Protobuf type
google.cloud.aiplatform.v1.Study| Modifier and Type | Method and Description |
|---|---|
Study.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Study |
build() |
Study |
buildPartial() |
Study.Builder |
clear() |
Study.Builder |
clearCreateTime()
Output only.
|
Study.Builder |
clearDisplayName()
Required.
|
Study.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Study.Builder |
clearInactiveReason()
Output only.
|
Study.Builder |
clearName()
Output only.
|
Study.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Study.Builder |
clearState()
Output only.
|
Study.Builder |
clearStudySpec()
Required.
|
Study.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Study |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getInactiveReason()
Output only.
|
com.google.protobuf.ByteString |
getInactiveReasonBytes()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Study.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
StudySpec |
getStudySpec()
Required.
|
StudySpec.Builder |
getStudySpecBuilder()
Required.
|
StudySpecOrBuilder |
getStudySpecOrBuilder()
Required.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasStudySpec()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Study.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Study.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Study.Builder |
mergeFrom(com.google.protobuf.Message other) |
Study.Builder |
mergeFrom(Study other) |
Study.Builder |
mergeStudySpec(StudySpec value)
Required.
|
Study.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Study.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Study.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Study.Builder |
setDisplayName(String value)
Required.
|
Study.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Study.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Study.Builder |
setInactiveReason(String value)
Output only.
|
Study.Builder |
setInactiveReasonBytes(com.google.protobuf.ByteString value)
Output only.
|
Study.Builder |
setName(String value)
Output only.
|
Study.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Study.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Study.Builder |
setState(Study.State value)
Output only.
|
Study.Builder |
setStateValue(int value)
Output only.
|
Study.Builder |
setStudySpec(StudySpec.Builder builderForValue)
Required.
|
Study.Builder |
setStudySpec(StudySpec value)
Required.
|
Study.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Study build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Study buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Study.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Study.Builder>public Study.Builder mergeFrom(Study other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public Study.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Study.Builder>IOExceptionpublic String getName()
Output only. The name of a study. The study's globally unique identifier.
Format: `projects/{project}/locations/{location}/studies/{study}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface StudyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of a study. The study's globally unique identifier.
Format: `projects/{project}/locations/{location}/studies/{study}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface StudyOrBuilderpublic Study.Builder setName(String value)
Output only. The name of a study. The study's globally unique identifier.
Format: `projects/{project}/locations/{location}/studies/{study}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Study.Builder clearName()
Output only. The name of a study. The study's globally unique identifier.
Format: `projects/{project}/locations/{location}/studies/{study}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Study.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of a study. The study's globally unique identifier.
Format: `projects/{project}/locations/{location}/studies/{study}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
Required. Describes the Study, default value is empty string.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface StudyOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Describes the Study, default value is empty string.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface StudyOrBuilderpublic Study.Builder setDisplayName(String value)
Required. Describes the Study, default value is empty string.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Study.Builder clearDisplayName()
Required. Describes the Study, default value is empty string.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public Study.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Describes the Study, default value is empty string.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public boolean hasStudySpec()
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
hasStudySpec in interface StudyOrBuilderpublic StudySpec getStudySpec()
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
getStudySpec in interface StudyOrBuilderpublic Study.Builder setStudySpec(StudySpec value)
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public Study.Builder setStudySpec(StudySpec.Builder builderForValue)
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public Study.Builder mergeStudySpec(StudySpec value)
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public Study.Builder clearStudySpec()
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public StudySpec.Builder getStudySpecBuilder()
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public StudySpecOrBuilder getStudySpecOrBuilder()
Required. Configuration of the Study.
.google.cloud.aiplatform.v1.StudySpec study_spec = 3 [(.google.api.field_behavior) = REQUIRED];
getStudySpecOrBuilder in interface StudyOrBuilderpublic int getStateValue()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1.Study.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface StudyOrBuilderpublic Study.Builder setStateValue(int value)
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1.Study.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Study.State getState()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1.Study.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface StudyOrBuilderpublic Study.Builder setState(Study.State value)
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1.Study.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Study.Builder clearState()
Output only. The detailed state of a Study.
.google.cloud.aiplatform.v1.Study.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface StudyOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface StudyOrBuilderpublic Study.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Study.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Study.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Study.Builder clearCreateTime()
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the study was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface StudyOrBuilderpublic String getInactiveReason()
Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
string inactive_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getInactiveReason in interface StudyOrBuilderpublic com.google.protobuf.ByteString getInactiveReasonBytes()
Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
string inactive_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getInactiveReasonBytes in interface StudyOrBuilderpublic Study.Builder setInactiveReason(String value)
Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
string inactive_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The inactiveReason to set.public Study.Builder clearInactiveReason()
Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
string inactive_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public Study.Builder setInactiveReasonBytes(com.google.protobuf.ByteString value)
Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
string inactive_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for inactiveReason to set.public final Study.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>public final Study.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Study.Builder>Copyright © 2023 Google LLC. All rights reserved.