Class StudyTimeConstraint.Builder (3.34.0)

public static final class StudyTimeConstraint.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StudyTimeConstraint build()
Returns
TypeDescription
StudyTimeConstraint

buildPartial()

public StudyTimeConstraint buildPartial()
Returns
TypeDescription
StudyTimeConstraint

clear()

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

clearConstraint()

public StudyTimeConstraint.Builder clearConstraint()
Returns
TypeDescription
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
TypeDescription
StudyTimeConstraint.Builder

clearField(Descriptors.FieldDescriptor field)

public StudyTimeConstraint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
StudyTimeConstraint.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StudyTimeConstraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StudyTimeConstraint.Builder
Overrides

clone()

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

getConstraintCase()

public StudyTimeConstraint.ConstraintCase getConstraintCase()
Returns
TypeDescription
StudyTimeConstraint.ConstraintCase

getDefaultInstanceForType()

public StudyTimeConstraint getDefaultInstanceForType()
Returns
TypeDescription
StudyTimeConstraint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

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

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
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
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

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

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getMaxDuration()

public Duration getMaxDuration()

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

.google.protobuf.Duration max_duration = 1;

Returns
TypeDescription
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
TypeDescription
Builder

getMaxDurationOrBuilder()

public DurationOrBuilder getMaxDurationOrBuilder()

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

.google.protobuf.Duration max_duration = 1;

Returns
TypeDescription
DurationOrBuilder

hasEndTime()

public boolean hasEndTime()

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

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the maxDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
StudyTimeConstraint.Builder

mergeFrom(StudyTimeConstraint other)

public StudyTimeConstraint.Builder mergeFrom(StudyTimeConstraint other)
Parameter
NameDescription
otherStudyTimeConstraint
Returns
TypeDescription
StudyTimeConstraint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StudyTimeConstraint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
StudyTimeConstraint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StudyTimeConstraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
StudyTimeConstraint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public StudyTimeConstraint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StudyTimeConstraint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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