Class ScheduledEvaluationRun.SchedulingConfig (0.3.0)

public static final class ScheduledEvaluationRun.SchedulingConfig extends GeneratedMessage implements ScheduledEvaluationRun.SchedulingConfigOrBuilder

Eval scheduling configuration details

Protobuf type google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ScheduledEvaluationRun.SchedulingConfig

Static Fields

DAYS_OF_WEEK_FIELD_NUMBER

public static final int DAYS_OF_WEEK_FIELD_NUMBER
Field Value
Type Description
int

FREQUENCY_FIELD_NUMBER

public static final int FREQUENCY_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScheduledEvaluationRun.SchedulingConfig getDefaultInstance()
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig

getDescriptor()

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

newBuilder()

public static ScheduledEvaluationRun.SchedulingConfig.Builder newBuilder()
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig.Builder

newBuilder(ScheduledEvaluationRun.SchedulingConfig prototype)

public static ScheduledEvaluationRun.SchedulingConfig.Builder newBuilder(ScheduledEvaluationRun.SchedulingConfig prototype)
Parameter
Name Description
prototype ScheduledEvaluationRun.SchedulingConfig
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig.Builder

parseDelimitedFrom(InputStream input)

public static ScheduledEvaluationRun.SchedulingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScheduledEvaluationRun.SchedulingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ScheduledEvaluationRun.SchedulingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ScheduledEvaluationRun.SchedulingConfig> parser()
Returns
Type Description
Parser<SchedulingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDaysOfWeek(int index)

public int getDaysOfWeek(int index)

Optional. The days of the week to run the eval. Applicable only for Weekly and Biweekly frequencies. 1 is Monday, 2 is Tuesday, ..., 7 is Sunday.

repeated int32 days_of_week = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The daysOfWeek at the given index.

getDaysOfWeekCount()

public int getDaysOfWeekCount()

Optional. The days of the week to run the eval. Applicable only for Weekly and Biweekly frequencies. 1 is Monday, 2 is Tuesday, ..., 7 is Sunday.

repeated int32 days_of_week = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of daysOfWeek.

getDaysOfWeekList()

public List<Integer> getDaysOfWeekList()

Optional. The days of the week to run the eval. Applicable only for Weekly and Biweekly frequencies. 1 is Monday, 2 is Tuesday, ..., 7 is Sunday.

repeated int32 days_of_week = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the daysOfWeek.

getDefaultInstanceForType()

public ScheduledEvaluationRun.SchedulingConfig getDefaultInstanceForType()
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig

getFrequency()

public ScheduledEvaluationRun.SchedulingConfig.Frequency getFrequency()

Required. The frequency with which to run the eval

.google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfig.Frequency frequency = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig.Frequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

Required. The frequency with which to run the eval

.google.cloud.ces.v1beta.ScheduledEvaluationRun.SchedulingConfig.Frequency frequency = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for frequency.

getParserForType()

public Parser<ScheduledEvaluationRun.SchedulingConfig> getParserForType()
Returns
Type Description
Parser<SchedulingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Required. Timestamp when the eval should start.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Required. Timestamp when the eval should start.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Required. Timestamp when the eval should start.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ScheduledEvaluationRun.SchedulingConfig.Builder newBuilderForType()
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ScheduledEvaluationRun.SchedulingConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig.Builder
Overrides

toBuilder()

public ScheduledEvaluationRun.SchedulingConfig.Builder toBuilder()
Returns
Type Description
ScheduledEvaluationRun.SchedulingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException