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
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 UpdateAccessApprovalSettingsMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAccessApprovalSettingsMessage build()
Returns
buildPartial()
public UpdateAccessApprovalSettingsMessage buildPartial()
Returns
clear()
public UpdateAccessApprovalSettingsMessage.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateAccessApprovalSettingsMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAccessApprovalSettingsMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSettings()
public UpdateAccessApprovalSettingsMessage.Builder clearSettings()
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Returns
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
clone()
public UpdateAccessApprovalSettingsMessage.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSettings()
public AccessApprovalSettings getSettings()
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Returns
getSettingsBuilder()
public AccessApprovalSettings.Builder getSettingsBuilder()
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Returns
getSettingsOrBuilder()
public AccessApprovalSettingsOrBuilder getSettingsOrBuilder()
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateAccessApprovalSettingsMessage other)
public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(UpdateAccessApprovalSettingsMessage other)
Parameter
Returns
public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAccessApprovalSettingsMessage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSettings(AccessApprovalSettings value)
public UpdateAccessApprovalSettingsMessage.Builder mergeSettings(AccessApprovalSettings value)
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccessApprovalSettingsMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccessApprovalSettingsMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAccessApprovalSettingsMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSettings(AccessApprovalSettings value)
public UpdateAccessApprovalSettingsMessage.Builder setSettings(AccessApprovalSettings value)
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Parameter
Returns
setSettings(AccessApprovalSettings.Builder builderForValue)
public UpdateAccessApprovalSettingsMessage.Builder setSettings(AccessApprovalSettings.Builder builderForValue)
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccessApprovalSettingsMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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