public static final class UpdateNotificationChannelRequest.Builder extends GeneratedMessageV3.Builder<UpdateNotificationChannelRequest.Builder> implements UpdateNotificationChannelRequestOrBuilder
The UpdateNotificationChannel
request.
Protobuf type google.monitoring.v3.UpdateNotificationChannelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNotificationChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateNotificationChannelRequest build()
buildPartial()
public UpdateNotificationChannelRequest buildPartial()
clear()
public UpdateNotificationChannelRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNotificationChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNotificationChannel()
public UpdateNotificationChannelRequest.Builder clearNotificationChannel()
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNotificationChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateNotificationChannelRequest.Builder clearUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateNotificationChannelRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateNotificationChannelRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNotificationChannel()
public NotificationChannel getNotificationChannel()
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
getNotificationChannelBuilder()
public NotificationChannel.Builder getNotificationChannelBuilder()
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
getNotificationChannelOrBuilder()
public NotificationChannelOrBuilder getNotificationChannelOrBuilder()
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
hasNotificationChannel()
public boolean hasNotificationChannel()
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the notificationChannel field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateNotificationChannelRequest other)
public UpdateNotificationChannelRequest.Builder mergeFrom(UpdateNotificationChannelRequest other)
public UpdateNotificationChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateNotificationChannelRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeNotificationChannel(NotificationChannel value)
public UpdateNotificationChannelRequest.Builder mergeNotificationChannel(NotificationChannel value)
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNotificationChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateNotificationChannelRequest.Builder mergeUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNotificationChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNotificationChannel(NotificationChannel value)
public UpdateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel value)
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
setNotificationChannel(NotificationChannel.Builder builderForValue)
public UpdateNotificationChannelRequest.Builder setNotificationChannel(NotificationChannel.Builder builderForValue)
Required. A description of the changes to be applied to the specified
notification channel. The description must provide a definition for
fields to be updated; the names of these fields should also be
included in the update_mask
.
.google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNotificationChannelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNotificationChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|