Package com.google.cloud.aiplatform.v1
Class StudyTimeConstraint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StudyTimeConstraint.Builder>
com.google.cloud.aiplatform.v1.StudyTimeConstraint.Builder
- All Implemented Interfaces:
StudyTimeConstraintOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StudyTimeConstraint
public static final class StudyTimeConstraint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StudyTimeConstraint.Builder>
implements StudyTimeConstraintOrBuilder
Time-based Constraint for StudyProtobuf type
google.cloud.aiplatform.v1.StudyTimeConstraint-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Compares the wallclock time to this time.Counts the wallclock time passed since the creation of this Study.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampCompares the wallclock time to this time.com.google.protobuf.Timestamp.BuilderCompares the wallclock time to this time.com.google.protobuf.TimestampOrBuilderCompares the wallclock time to this time.com.google.protobuf.DurationCounts the wallclock time passed since the creation of this Study.com.google.protobuf.Duration.BuilderCounts the wallclock time passed since the creation of this Study.com.google.protobuf.DurationOrBuilderCounts the wallclock time passed since the creation of this Study.booleanCompares the wallclock time to this time.booleanCounts the wallclock time passed since the creation of this Study.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Compares the wallclock time to this time.mergeFrom(StudyTimeConstraint other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxDuration(com.google.protobuf.Duration value) Counts the wallclock time passed since the creation of this Study.setEndTime(com.google.protobuf.Timestamp value) Compares the wallclock time to this time.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Compares the wallclock time to this time.setMaxDuration(com.google.protobuf.Duration value) Counts the wallclock time passed since the creation of this Study.setMaxDuration(com.google.protobuf.Duration.Builder builderForValue) Counts the wallclock time passed since the creation of this Study.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StudyTimeConstraint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StudyTimeConstraint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StudyTimeConstraint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StudyTimeConstraint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StudyTimeConstraint.Builder>
-
mergeFrom
public StudyTimeConstraint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StudyTimeConstraint.Builder>- Throws:
IOException
-
getConstraintCase
- Specified by:
getConstraintCasein interfaceStudyTimeConstraintOrBuilder
-
clearConstraint
-
hasMaxDuration
public boolean hasMaxDuration()Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1;- Specified by:
hasMaxDurationin interfaceStudyTimeConstraintOrBuilder- Returns:
- Whether the maxDuration field is set.
-
getMaxDuration
public com.google.protobuf.Duration getMaxDuration()Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1;- Specified by:
getMaxDurationin interfaceStudyTimeConstraintOrBuilder- Returns:
- The maxDuration.
-
setMaxDuration
Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1; -
setMaxDuration
public StudyTimeConstraint.Builder setMaxDuration(com.google.protobuf.Duration.Builder builderForValue) Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1; -
mergeMaxDuration
Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1; -
clearMaxDuration
Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1; -
getMaxDurationBuilder
public com.google.protobuf.Duration.Builder getMaxDurationBuilder()Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1; -
getMaxDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder()Counts the wallclock time passed since the creation of this Study.
.google.protobuf.Duration max_duration = 1;- Specified by:
getMaxDurationOrBuilderin interfaceStudyTimeConstraintOrBuilder
-
hasEndTime
public boolean hasEndTime()Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2;- Specified by:
hasEndTimein interfaceStudyTimeConstraintOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2;- Specified by:
getEndTimein interfaceStudyTimeConstraintOrBuilder- Returns:
- The endTime.
-
setEndTime
Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2; -
setEndTime
public StudyTimeConstraint.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2; -
mergeEndTime
Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2; -
clearEndTime
Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Compares the wallclock time to this time. Must use UTC timezone.
.google.protobuf.Timestamp end_time = 2;- Specified by:
getEndTimeOrBuilderin interfaceStudyTimeConstraintOrBuilder
-