Class StudyTimeConstraint.Builder (3.44.0)

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

Time-based Constraint for Study

Protobuf type google.cloud.aiplatform.v1beta1.StudyTimeConstraint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StudyTimeConstraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StudyTimeConstraint.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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