public interface CreateNotificationChannelRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getName()
public abstract String getName()
Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add /notificationChannels/[CHANNEL_ID]
to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container into which the channel will be
written, this does not name the newly created channel. The resulting
channel's name will have a normalized version of this field as a prefix,
but will add /notificationChannels/[CHANNEL_ID]
to identify the channel.
string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNotificationChannel()
public abstract NotificationChannel getNotificationChannel()
Required. The definition of the NotificationChannel
to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
NotificationChannel |
The notificationChannel. |
getNotificationChannelOrBuilder()
public abstract NotificationChannelOrBuilder getNotificationChannelOrBuilder()
Required. The definition of the NotificationChannel
to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
NotificationChannelOrBuilder |
hasNotificationChannel()
public abstract boolean hasNotificationChannel()
Required. The definition of the NotificationChannel
to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the notificationChannel field is set. |