public static final class AlertPolicy.Condition.SqlCondition.Daily.Builder extends GeneratedMessageV3.Builder<AlertPolicy.Condition.SqlCondition.Daily.Builder> implements AlertPolicy.Condition.SqlCondition.DailyOrBuilder
Used to schedule the query to run every so many days.
Protobuf type google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy.Condition.SqlCondition.Daily.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AlertPolicy.Condition.SqlCondition.Daily build()
buildPartial()
public AlertPolicy.Condition.SqlCondition.Daily buildPartial()
clear()
public AlertPolicy.Condition.SqlCondition.Daily.Builder clear()
Overrides
clearExecutionTime()
public AlertPolicy.Condition.SqlCondition.Daily.Builder clearExecutionTime()
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public AlertPolicy.Condition.SqlCondition.Daily.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AlertPolicy.Condition.SqlCondition.Daily.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPeriodicity()
public AlertPolicy.Condition.SqlCondition.Daily.Builder clearPeriodicity()
Required. The number of days between runs. Must be greater than or
equal to 1 day and less than or equal to 31 days.
int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public AlertPolicy.Condition.SqlCondition.Daily.Builder clone()
Overrides
getDefaultInstanceForType()
public AlertPolicy.Condition.SqlCondition.Daily getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExecutionTime()
public TimeOfDay getExecutionTime()
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.TimeOfDay |
The executionTime.
|
getExecutionTimeBuilder()
public TimeOfDay.Builder getExecutionTimeBuilder()
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.TimeOfDay.Builder |
|
getExecutionTimeOrBuilder()
public TimeOfDayOrBuilder getExecutionTimeOrBuilder()
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.TimeOfDayOrBuilder |
|
getPeriodicity()
public int getPeriodicity()
Required. The number of days between runs. Must be greater than or
equal to 1 day and less than or equal to 31 days.
int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The periodicity.
|
hasExecutionTime()
public boolean hasExecutionTime()
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the executionTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExecutionTime(TimeOfDay value)
public AlertPolicy.Condition.SqlCondition.Daily.Builder mergeExecutionTime(TimeOfDay value)
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
com.google.type.TimeOfDay
|
mergeFrom(AlertPolicy.Condition.SqlCondition.Daily other)
public AlertPolicy.Condition.SqlCondition.Daily.Builder mergeFrom(AlertPolicy.Condition.SqlCondition.Daily other)
public AlertPolicy.Condition.SqlCondition.Daily.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlertPolicy.Condition.SqlCondition.Daily.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy.Condition.SqlCondition.Daily.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExecutionTime(TimeOfDay value)
public AlertPolicy.Condition.SqlCondition.Daily.Builder setExecutionTime(TimeOfDay value)
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
com.google.type.TimeOfDay
|
setExecutionTime(TimeOfDay.Builder builderForValue)
public AlertPolicy.Condition.SqlCondition.Daily.Builder setExecutionTime(TimeOfDay.Builder builderForValue)
Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
.google.type.TimeOfDay execution_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
com.google.type.TimeOfDay.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy.Condition.SqlCondition.Daily.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPeriodicity(int value)
public AlertPolicy.Condition.SqlCondition.Daily.Builder setPeriodicity(int value)
Required. The number of days between runs. Must be greater than or
equal to 1 day and less than or equal to 31 days.
int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The periodicity to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlertPolicy.Condition.SqlCondition.Daily.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy.Condition.SqlCondition.Daily.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides