Class Entitlement.RequesterJustificationConfig.Builder (0.5.0)

public static final class Entitlement.RequesterJustificationConfig.Builder extends GeneratedMessageV3.Builder<Entitlement.RequesterJustificationConfig.Builder> implements Entitlement.RequesterJustificationConfigOrBuilder

Defines how a requester must provide a justification when requesting access.

Protobuf type google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Entitlement.RequesterJustificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

build()

public Entitlement.RequesterJustificationConfig build()
Returns
Type Description
Entitlement.RequesterJustificationConfig

buildPartial()

public Entitlement.RequesterJustificationConfig buildPartial()
Returns
Type Description
Entitlement.RequesterJustificationConfig

clear()

public Entitlement.RequesterJustificationConfig.Builder clear()
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Entitlement.RequesterJustificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

clearJustificationType()

public Entitlement.RequesterJustificationConfig.Builder clearJustificationType()
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

clearNotMandatory()

public Entitlement.RequesterJustificationConfig.Builder clearNotMandatory()

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.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Entitlement.RequesterJustificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

clearUnstructured()

public Entitlement.RequesterJustificationConfig.Builder clearUnstructured()

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.Builder

clone()

public Entitlement.RequesterJustificationConfig.Builder clone()
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

getDefaultInstanceForType()

public Entitlement.RequesterJustificationConfig getDefaultInstanceForType()
Returns
Type Description
Entitlement.RequesterJustificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getNotMandatoryBuilder()

public Entitlement.RequesterJustificationConfig.NotMandatory.Builder getNotMandatoryBuilder()

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.Builder

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

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.

getUnstructuredBuilder()

public Entitlement.RequesterJustificationConfig.Unstructured.Builder getUnstructuredBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Entitlement.RequesterJustificationConfig other)

public Entitlement.RequesterJustificationConfig.Builder mergeFrom(Entitlement.RequesterJustificationConfig other)
Parameter
Name Description
other Entitlement.RequesterJustificationConfig
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Entitlement.RequesterJustificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Entitlement.RequesterJustificationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

mergeNotMandatory(Entitlement.RequesterJustificationConfig.NotMandatory value)

public Entitlement.RequesterJustificationConfig.Builder mergeNotMandatory(Entitlement.RequesterJustificationConfig.NotMandatory value)

This option means the requester isn't required to provide a justification.

.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.NotMandatory not_mandatory = 1;

Parameter
Name Description
value Entitlement.RequesterJustificationConfig.NotMandatory
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Entitlement.RequesterJustificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

mergeUnstructured(Entitlement.RequesterJustificationConfig.Unstructured value)

public Entitlement.RequesterJustificationConfig.Builder mergeUnstructured(Entitlement.RequesterJustificationConfig.Unstructured value)

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;

Parameter
Name Description
value Entitlement.RequesterJustificationConfig.Unstructured
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Entitlement.RequesterJustificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

setNotMandatory(Entitlement.RequesterJustificationConfig.NotMandatory value)

public Entitlement.RequesterJustificationConfig.Builder setNotMandatory(Entitlement.RequesterJustificationConfig.NotMandatory value)

This option means the requester isn't required to provide a justification.

.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.NotMandatory not_mandatory = 1;

Parameter
Name Description
value Entitlement.RequesterJustificationConfig.NotMandatory
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

setNotMandatory(Entitlement.RequesterJustificationConfig.NotMandatory.Builder builderForValue)

public Entitlement.RequesterJustificationConfig.Builder setNotMandatory(Entitlement.RequesterJustificationConfig.NotMandatory.Builder builderForValue)

This option means the requester isn't required to provide a justification.

.google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig.NotMandatory not_mandatory = 1;

Parameter
Name Description
builderForValue Entitlement.RequesterJustificationConfig.NotMandatory.Builder
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Entitlement.RequesterJustificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Entitlement.RequesterJustificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder
Overrides

setUnstructured(Entitlement.RequesterJustificationConfig.Unstructured value)

public Entitlement.RequesterJustificationConfig.Builder setUnstructured(Entitlement.RequesterJustificationConfig.Unstructured value)

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;

Parameter
Name Description
value Entitlement.RequesterJustificationConfig.Unstructured
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder

setUnstructured(Entitlement.RequesterJustificationConfig.Unstructured.Builder builderForValue)

public Entitlement.RequesterJustificationConfig.Builder setUnstructured(Entitlement.RequesterJustificationConfig.Unstructured.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Entitlement.RequesterJustificationConfig.Unstructured.Builder
Returns
Type Description
Entitlement.RequesterJustificationConfig.Builder