Class UpdateAccessApprovalSettingsMessage.Builder (2.46.0)

public static final class UpdateAccessApprovalSettingsMessage.Builder extends GeneratedMessageV3.Builder<UpdateAccessApprovalSettingsMessage.Builder> implements UpdateAccessApprovalSettingsMessageOrBuilder

Request to update access approval settings.

Protobuf type google.cloud.accessapproval.v1.UpdateAccessApprovalSettingsMessage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccessApprovalSettingsMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

build()

public UpdateAccessApprovalSettingsMessage build()
Returns
Type Description
UpdateAccessApprovalSettingsMessage

buildPartial()

public UpdateAccessApprovalSettingsMessage buildPartial()
Returns
Type Description
UpdateAccessApprovalSettingsMessage

clear()

public UpdateAccessApprovalSettingsMessage.Builder clear()
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateAccessApprovalSettingsMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAccessApprovalSettingsMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

clearSettings()

public UpdateAccessApprovalSettingsMessage.Builder clearSettings()

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

clearUpdateMask()

public UpdateAccessApprovalSettingsMessage.Builder clearUpdateMask()

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

clone()

public UpdateAccessApprovalSettingsMessage.Builder clone()
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

getDefaultInstanceForType()

public UpdateAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
Type Description
UpdateAccessApprovalSettingsMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSettings()

public AccessApprovalSettings getSettings()

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Returns
Type Description
AccessApprovalSettings

The settings.

getSettingsBuilder()

public AccessApprovalSettings.Builder getSettingsBuilder()

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Returns
Type Description
AccessApprovalSettings.Builder

getSettingsOrBuilder()

public AccessApprovalSettingsOrBuilder getSettingsOrBuilder()

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Returns
Type Description
AccessApprovalSettingsOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSettings()

public boolean hasSettings()

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Returns
Type Description
boolean

Whether the settings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateAccessApprovalSettingsMessage other)

public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(UpdateAccessApprovalSettingsMessage other)
Parameter
Name Description
other UpdateAccessApprovalSettingsMessage
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

mergeSettings(AccessApprovalSettings value)

public UpdateAccessApprovalSettingsMessage.Builder mergeSettings(AccessApprovalSettings value)

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Parameter
Name Description
value AccessApprovalSettings
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessApprovalSettingsMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAccessApprovalSettingsMessage.Builder mergeUpdateMask(FieldMask value)

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccessApprovalSettingsMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateAccessApprovalSettingsMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

setSettings(AccessApprovalSettings value)

public UpdateAccessApprovalSettingsMessage.Builder setSettings(AccessApprovalSettings value)

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Parameter
Name Description
value AccessApprovalSettings
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

setSettings(AccessApprovalSettings.Builder builderForValue)

public UpdateAccessApprovalSettingsMessage.Builder setSettings(AccessApprovalSettings.Builder builderForValue)

The new AccessApprovalSettings.

.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;

Parameter
Name Description
builderForValue AccessApprovalSettings.Builder
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessApprovalSettingsMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAccessApprovalSettingsMessage.Builder setUpdateMask(FieldMask value)

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAccessApprovalSettingsMessage.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applies to the settings. Only the top level fields of AccessApprovalSettings (notification_emails & enrolled_services) are supported. For each field, if it is included, the currently stored value will be entirely overwritten with the value of the field passed in this request.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is left unset, only the notification_emails field will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder