public interface SnoozeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Snooze.Criteria |
getCriteria()
Required.
|
Snooze.CriteriaOrBuilder |
getCriteriaOrBuilder()
Required.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
TimeInterval |
getInterval()
Required.
|
TimeIntervalOrBuilder |
getIntervalOrBuilder()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
boolean |
hasCriteria()
Required.
|
boolean |
hasInterval()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The name of the `Snooze`. The format is:
projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID]
The ID of the `Snooze` will be generated by the system.
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. The name of the `Snooze`. The format is:
projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID]
The ID of the `Snooze` will be generated by the system.
string name = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasCriteria()
Required. This defines the criteria for applying the `Snooze`. See `Criteria` for more information.
.google.monitoring.v3.Snooze.Criteria criteria = 3 [(.google.api.field_behavior) = REQUIRED];
Snooze.Criteria getCriteria()
Required. This defines the criteria for applying the `Snooze`. See `Criteria` for more information.
.google.monitoring.v3.Snooze.Criteria criteria = 3 [(.google.api.field_behavior) = REQUIRED];
Snooze.CriteriaOrBuilder getCriteriaOrBuilder()
Required. This defines the criteria for applying the `Snooze`. See `Criteria` for more information.
.google.monitoring.v3.Snooze.Criteria criteria = 3 [(.google.api.field_behavior) = REQUIRED];
boolean hasInterval()
Required. The `Snooze` will be active from `interval.start_time` through `interval.end_time`. `interval.start_time` cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.
.google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED];
TimeInterval getInterval()
Required. The `Snooze` will be active from `interval.start_time` through `interval.end_time`. `interval.start_time` cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.
.google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED];
TimeIntervalOrBuilder getIntervalOrBuilder()
Required. The `Snooze` will be active from `interval.start_time` through `interval.end_time`. `interval.start_time` cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.
.google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED];
String getDisplayName()
Required. A display name for the `Snooze`. This can be, at most, 512 unicode characters.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDisplayNameBytes()
Required. A display name for the `Snooze`. This can be, at most, 512 unicode characters.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];Copyright © 2023 Google LLC. All rights reserved.