Class UpdateAccessApprovalSettingsMessage.Builder (2.4.8)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccessApprovalSettingsMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

build()

public UpdateAccessApprovalSettingsMessage build()
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage

buildPartial()

public UpdateAccessApprovalSettingsMessage buildPartial()
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage

clear()

public UpdateAccessApprovalSettingsMessage.Builder clear()
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateAccessApprovalSettingsMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAccessApprovalSettingsMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

clearSettings()

public UpdateAccessApprovalSettingsMessage.Builder clearSettings()

The new AccessApprovalSettings.

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

Returns
TypeDescription
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
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder

clone()

public UpdateAccessApprovalSettingsMessage.Builder clone()
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

getDefaultInstanceForType()

public UpdateAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSettings()

public AccessApprovalSettings getSettings()

The new AccessApprovalSettings.

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

Returns
TypeDescription
AccessApprovalSettings

The settings.

getSettingsBuilder()

public AccessApprovalSettings.Builder getSettingsBuilder()

The new AccessApprovalSettings.

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

Returns
TypeDescription
AccessApprovalSettings.Builder

getSettingsOrBuilder()

public AccessApprovalSettingsOrBuilder getSettingsOrBuilder()

The new AccessApprovalSettings.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasSettings()

public boolean hasSettings()

The new AccessApprovalSettings.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateAccessApprovalSettingsMessage other)

public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(UpdateAccessApprovalSettingsMessage other)
Parameter
NameDescription
otherUpdateAccessApprovalSettingsMessage
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

mergeSettings(AccessApprovalSettings value)

public UpdateAccessApprovalSettingsMessage.Builder mergeSettings(AccessApprovalSettings value)

The new AccessApprovalSettings.

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

Parameter
NameDescription
valueAccessApprovalSettings
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessApprovalSettingsMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccessApprovalSettingsMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

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

public UpdateAccessApprovalSettingsMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder
Overrides

setSettings(AccessApprovalSettings value)

public UpdateAccessApprovalSettingsMessage.Builder setSettings(AccessApprovalSettings value)

The new AccessApprovalSettings.

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

Parameter
NameDescription
valueAccessApprovalSettings
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder

setSettings(AccessApprovalSettings.Builder builderForValue)

public UpdateAccessApprovalSettingsMessage.Builder setSettings(AccessApprovalSettings.Builder builderForValue)

The new AccessApprovalSettings.

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

Parameter
NameDescription
builderForValueAccessApprovalSettings.Builder
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessApprovalSettingsMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateAccessApprovalSettingsMessage.Builder