Class StudyTimeConstraint.Builder (3.84.0)

public static final class StudyTimeConstraint.Builder extends GeneratedMessage.Builder<StudyTimeConstraint.Builder> implements StudyTimeConstraintOrBuilder

Time-based Constraint for Study

Protobuf type google.cloud.aiplatform.v1.StudyTimeConstraint

Static Methods

getDescriptor()

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

Methods

build()

public StudyTimeConstraint build()
Returns
Type Description
StudyTimeConstraint

buildPartial()

public StudyTimeConstraint buildPartial()
Returns
Type Description
StudyTimeConstraint

clear()

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

clearConstraint()

public StudyTimeConstraint.Builder clearConstraint()
Returns
Type Description
StudyTimeConstraint.Builder

clearEndTime()

public StudyTimeConstraint.Builder clearEndTime()

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
StudyTimeConstraint.Builder

clearMaxDuration()

public StudyTimeConstraint.Builder clearMaxDuration()

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Returns
Type Description
StudyTimeConstraint.Builder

getConstraintCase()

public StudyTimeConstraint.ConstraintCase getConstraintCase()
Returns
Type Description
StudyTimeConstraint.ConstraintCase

getDefaultInstanceForType()

public StudyTimeConstraint getDefaultInstanceForType()
Returns
Type Description
StudyTimeConstraint

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getMaxDuration()

public Duration getMaxDuration()

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Returns
Type Description
Duration

The maxDuration.

getMaxDurationBuilder()

public Duration.Builder getMaxDurationBuilder()

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Returns
Type Description
Builder

getMaxDurationOrBuilder()

public DurationOrBuilder getMaxDurationOrBuilder()

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Returns
Type Description
DurationOrBuilder

hasEndTime()

public boolean hasEndTime()

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasMaxDuration()

public boolean hasMaxDuration()

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Returns
Type Description
boolean

Whether the maxDuration field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public StudyTimeConstraint.Builder mergeEndTime(Timestamp value)

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
StudyTimeConstraint.Builder

mergeFrom(StudyTimeConstraint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxDuration(Duration value)

public StudyTimeConstraint.Builder mergeMaxDuration(Duration value)

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
StudyTimeConstraint.Builder

setEndTime(Timestamp value)

public StudyTimeConstraint.Builder setEndTime(Timestamp value)

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
StudyTimeConstraint.Builder

setEndTime(Timestamp.Builder builderForValue)

public StudyTimeConstraint.Builder setEndTime(Timestamp.Builder builderForValue)

Compares the wallclock time to this time. Must use UTC timezone.

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
StudyTimeConstraint.Builder

setMaxDuration(Duration value)

public StudyTimeConstraint.Builder setMaxDuration(Duration value)

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
StudyTimeConstraint.Builder

setMaxDuration(Duration.Builder builderForValue)

public StudyTimeConstraint.Builder setMaxDuration(Duration.Builder builderForValue)

Counts the wallclock time passed since the creation of this Study.

.google.protobuf.Duration max_duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
StudyTimeConstraint.Builder