public final class UpdateAccessApprovalSettingsMessage extends GeneratedMessageV3 implements UpdateAccessApprovalSettingsMessageOrBuilder
Request to update access approval settings.
Protobuf type google.cloud.accessapproval.v1.UpdateAccessApprovalSettingsMessage
Static Fields
SETTINGS_FIELD_NUMBER
public static final int SETTINGS_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateAccessApprovalSettingsMessage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateAccessApprovalSettingsMessage.Builder newBuilder()
Returns
newBuilder(UpdateAccessApprovalSettingsMessage prototype)
public static UpdateAccessApprovalSettingsMessage.Builder newBuilder(UpdateAccessApprovalSettingsMessage prototype)
Parameter
Returns
public static UpdateAccessApprovalSettingsMessage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateAccessApprovalSettingsMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateAccessApprovalSettingsMessage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateAccessApprovalSettingsMessage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateAccessApprovalSettingsMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateAccessApprovalSettingsMessage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateAccessApprovalSettingsMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateAccessApprovalSettingsMessage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpdateAccessApprovalSettingsMessage> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSettings()
public AccessApprovalSettings getSettings()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateAccessApprovalSettingsMessage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateAccessApprovalSettingsMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateAccessApprovalSettingsMessage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions