Interface CreateSnoozeRequestOrBuilder (3.30.0)

public interface CreateSnoozeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The project 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
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project 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
TypeDescription
ByteString

The bytes for parent.

getSnooze()

public abstract 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
TypeDescription
Snooze

The snooze.

getSnoozeOrBuilder()

public abstract 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];

Returns
TypeDescription
SnoozeOrBuilder

hasSnooze()

public abstract 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
TypeDescription
boolean

Whether the snooze field is set.