Package com.google.monitoring.v3
Interface CreateSnoozeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSnoozeRequest,CreateSnoozeRequest.Builder
@Generated
public interface CreateSnoozeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in which a `Snooze` should be created. The format is: projects/[PROJECT_ID_OR_NUMBER]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in which a `Snooze` should be created. The format is: projects/[PROJECT_ID_OR_NUMBER]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasSnooze
boolean hasSnooze()Required. The `Snooze` to create. Omit the `name` field, as it will be filled in by the API.
.google.monitoring.v3.Snooze snooze = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the snooze field is set.
-
getSnooze
Snooze getSnooze()Required. The `Snooze` to create. Omit the `name` field, as it will be filled in by the API.
.google.monitoring.v3.Snooze snooze = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The snooze.
-
getSnoozeOrBuilder
SnoozeOrBuilder getSnoozeOrBuilder()Required. The `Snooze` to create. Omit the `name` field, as it will be filled in by the API.
.google.monitoring.v3.Snooze snooze = 2 [(.google.api.field_behavior) = REQUIRED];
-