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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNotificationChannelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateNotificationChannelRequest build()
Returns
buildPartial()
public UpdateNotificationChannelRequest buildPartial()
Returns
clear()
public UpdateNotificationChannelRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNotificationChannelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNotificationChannelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateNotificationChannelRequest.Builder clearUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateNotificationChannelRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateNotificationChannelRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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];
Returns
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];
Returns
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];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateNotificationChannelRequest other)
public UpdateNotificationChannelRequest.Builder mergeFrom(UpdateNotificationChannelRequest other)
Parameter
Returns
public UpdateNotificationChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateNotificationChannelRequest.Builder mergeFrom(Message other)
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNotificationChannelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateNotificationChannelRequest.Builder mergeUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNotificationChannelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNotificationChannelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNotificationChannelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateNotificationChannelRequest.Builder setUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
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
|
Returns