Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class CreateNotificationChannelRequest (3.2.10)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.2.10keyboard_arrow_down
public final class CreateNotificationChannelRequest extends GeneratedMessageV3 implements CreateNotificationChannelRequestOrBuilder
The CreateNotificationChannel
request.
Protobuf type google.monitoring.v3.CreateNotificationChannelRequest
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NOTIFICATION_CHANNEL_FIELD_NUMBER
public static final int NOTIFICATION_CHANNEL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateNotificationChannelRequest getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static CreateNotificationChannelRequest . Builder newBuilder ()
Returns
newBuilder(CreateNotificationChannelRequest prototype)
public static CreateNotificationChannelRequest . Builder newBuilder ( CreateNotificationChannelRequest prototype )
Parameter
Returns
public static CreateNotificationChannelRequest parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static CreateNotificationChannelRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateNotificationChannelRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationChannelRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateNotificationChannelRequest parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationChannelRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static CreateNotificationChannelRequest parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static CreateNotificationChannelRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static CreateNotificationChannelRequest parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static CreateNotificationChannelRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateNotificationChannelRequest parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationChannelRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<CreateNotificationChannelRequest> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateNotificationChannelRequest getDefaultInstanceForType ()
Returns
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 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
getNotificationChannel()
public NotificationChannel getNotificationChannel ()
Required. The definition of the NotificationChannel
to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getNotificationChannelOrBuilder()
public NotificationChannelOrBuilder getNotificationChannelOrBuilder ()
Required. The definition of the NotificationChannel
to create.
.google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<CreateNotificationChannelRequest> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hasNotificationChannel()
public 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.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public CreateNotificationChannelRequest . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateNotificationChannelRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public CreateNotificationChannelRequest . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[],[]]