public final class UpdateAccessApprovalSettingsMessage extends GeneratedMessageV3 implements UpdateAccessApprovalSettingsMessageOrBuilder
Request to update access approval settings.
Protobuf type google.cloud.accessapproval.v1.UpdateAccessApprovalSettingsMessage
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateAccessApprovalSettingsMessage.Builder newBuilder()
newBuilder(UpdateAccessApprovalSettingsMessage prototype)
public static UpdateAccessApprovalSettingsMessage.Builder newBuilder(UpdateAccessApprovalSettingsMessage prototype)
public static UpdateAccessApprovalSettingsMessage parseDelimitedFrom(InputStream input)
public static UpdateAccessApprovalSettingsMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateAccessApprovalSettingsMessage parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(CodedInputStream input)
public static UpdateAccessApprovalSettingsMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(InputStream input)
public static UpdateAccessApprovalSettingsMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateAccessApprovalSettingsMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateAccessApprovalSettingsMessage> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public UpdateAccessApprovalSettingsMessage getDefaultInstanceForType()
getParserForType()
public Parser<UpdateAccessApprovalSettingsMessage> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSettings()
public AccessApprovalSettings getSettings()
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
getSettingsOrBuilder()
public AccessApprovalSettingsOrBuilder getSettingsOrBuilder()
The new AccessApprovalSettings.
.google.cloud.accessapproval.v1.AccessApprovalSettings settings = 1;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateAccessApprovalSettingsMessage.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateAccessApprovalSettingsMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateAccessApprovalSettingsMessage.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides