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