public static final class Entitlement.RequesterJustificationConfig extends GeneratedMessageV3 implements Entitlement.RequesterJustificationConfigOrBuilder
Defines how a requester must provide a justification when requesting access.
Protobuf type
google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Entitlement.RequesterJustificationConfigStatic Fields
NOT_MANDATORY_FIELD_NUMBER
public static final int NOT_MANDATORY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
UNSTRUCTURED_FIELD_NUMBER
public static final int UNSTRUCTURED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Entitlement.RequesterJustificationConfig getDefaultInstance()
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Entitlement.RequesterJustificationConfig.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.Builder |
newBuilder(Entitlement.RequesterJustificationConfig prototype)
public static Entitlement.RequesterJustificationConfig.Builder newBuilder(Entitlement.RequesterJustificationConfig prototype)
Parameter | |
---|---|
Name | Description |
prototype |
Entitlement.RequesterJustificationConfig |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Entitlement.RequesterJustificationConfig parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Entitlement.RequesterJustificationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Entitlement.RequesterJustificationConfig parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Entitlement.RequesterJustificationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Entitlement.RequesterJustificationConfig parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Entitlement.RequesterJustificationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Entitlement.RequesterJustificationConfig parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Entitlement.RequesterJustificationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Entitlement.RequesterJustificationConfig parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Entitlement.RequesterJustificationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Entitlement.RequesterJustificationConfig parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Entitlement.RequesterJustificationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Entitlement.RequesterJustificationConfig> parser()
Returns | |
---|---|
Type | Description |
Parser<RequesterJustificationConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Entitlement.RequesterJustificationConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig |
getJustificationTypeCase()
public Entitlement.RequesterJustificationConfig.JustificationTypeCase getJustificationTypeCase()
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.JustificationTypeCase |
getNotMandatory()
public Entitlement.RequesterJustificationConfig.NotMandatory getNotMandatory()
This option means the requester isn't required to provide a justification.
.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.NotMandatory not_mandatory = 1;
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.NotMandatory |
The notMandatory. |
getNotMandatoryOrBuilder()
public Entitlement.RequesterJustificationConfig.NotMandatoryOrBuilder getNotMandatoryOrBuilder()
This option means the requester isn't required to provide a justification.
.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.NotMandatory not_mandatory = 1;
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.NotMandatoryOrBuilder |
getParserForType()
public Parser<Entitlement.RequesterJustificationConfig> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<RequesterJustificationConfig> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnstructured()
public Entitlement.RequesterJustificationConfig.Unstructured getUnstructured()
This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it.
.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.Unstructured unstructured = 2;
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.Unstructured |
The unstructured. |
getUnstructuredOrBuilder()
public Entitlement.RequesterJustificationConfig.UnstructuredOrBuilder getUnstructuredOrBuilder()
This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it.
.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.Unstructured unstructured = 2;
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.UnstructuredOrBuilder |
hasNotMandatory()
public boolean hasNotMandatory()
This option means the requester isn't required to provide a justification.
.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.NotMandatory not_mandatory = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the notMandatory field is set. |
hasUnstructured()
public boolean hasUnstructured()
This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it.
.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.Unstructured unstructured = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the unstructured field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Entitlement.RequesterJustificationConfig.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Entitlement.RequesterJustificationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Entitlement.RequesterJustificationConfig.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Entitlement.RequesterJustificationConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |