Class UpdateAccessApprovalSettingsMessage (2.43.0)

public final class UpdateAccessApprovalSettingsMessage extends GeneratedMessageV3 implements UpdateAccessApprovalSettingsMessageOrBuilder

Request to update access approval settings.

Protobuf type google.cloud.accessapproval.v1.UpdateAccessApprovalSettingsMessage

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateAccessApprovalSettingsMessage

Static Fields

SETTINGS_FIELD_NUMBER

public static final int SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateAccessApprovalSettingsMessage getDefaultInstance()
Returns
Type Description
UpdateAccessApprovalSettingsMessage

getDescriptor()

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

newBuilder()

public static UpdateAccessApprovalSettingsMessage.Builder newBuilder()
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

newBuilder(UpdateAccessApprovalSettingsMessage prototype)

public static UpdateAccessApprovalSettingsMessage.Builder newBuilder(UpdateAccessApprovalSettingsMessage prototype)
Parameter
Name Description
prototype UpdateAccessApprovalSettingsMessage
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

parseDelimitedFrom(InputStream input)

public static UpdateAccessApprovalSettingsMessage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAccessApprovalSettingsMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateAccessApprovalSettingsMessage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateAccessApprovalSettingsMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateAccessApprovalSettingsMessage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateAccessApprovalSettingsMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateAccessApprovalSettingsMessage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAccessApprovalSettingsMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateAccessApprovalSettingsMessage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAccessApprovalSettingsMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateAccessApprovalSettingsMessage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateAccessApprovalSettingsMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessApprovalSettingsMessage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateAccessApprovalSettingsMessage> parser()
Returns
Type Description
Parser<UpdateAccessApprovalSettingsMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
Type Description
UpdateAccessApprovalSettingsMessage

getParserForType()

public Parser<UpdateAccessApprovalSettingsMessage> getParserForType()
Returns
Type Description
Parser<UpdateAccessApprovalSettingsMessage>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSettings()

public AccessApprovalSettings getSettings()

The new AccessApprovalSettings.

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

Returns
Type Description
AccessApprovalSettings

The settings.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateAccessApprovalSettingsMessage.Builder newBuilderForType()
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateAccessApprovalSettingsMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateAccessApprovalSettingsMessage.Builder toBuilder()
Returns
Type Description
UpdateAccessApprovalSettingsMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException