Class Justification.Builder (0.39.0)

public static final class Justification.Builder extends GeneratedMessage.Builder<Justification.Builder> implements JustificationOrBuilder

Justification represents a justification for requesting access.

Protobuf type google.cloud.privilegedaccessmanager.v1.Justification

Static Methods

getDescriptor()

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

Methods

build()

public Justification build()
Returns
Type Description
Justification

buildPartial()

public Justification buildPartial()
Returns
Type Description
Justification

clear()

public Justification.Builder clear()
Returns
Type Description
Justification.Builder
Overrides

clearJustification()

public Justification.Builder clearJustification()
Returns
Type Description
Justification.Builder

clearUnstructuredJustification()

public Justification.Builder clearUnstructuredJustification()

A free form textual justification. The system only ensures that this is not empty. No other kind of validation is performed on the string.

string unstructured_justification = 1;

Returns
Type Description
Justification.Builder

This builder for chaining.

getDefaultInstanceForType()

public Justification getDefaultInstanceForType()
Returns
Type Description
Justification

getDescriptorForType()

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

getJustificationCase()

public Justification.JustificationCase getJustificationCase()
Returns
Type Description
Justification.JustificationCase

getUnstructuredJustification()

public String getUnstructuredJustification()

A free form textual justification. The system only ensures that this is not empty. No other kind of validation is performed on the string.

string unstructured_justification = 1;

Returns
Type Description
String

The unstructuredJustification.

getUnstructuredJustificationBytes()

public ByteString getUnstructuredJustificationBytes()

A free form textual justification. The system only ensures that this is not empty. No other kind of validation is performed on the string.

string unstructured_justification = 1;

Returns
Type Description
ByteString

The bytes for unstructuredJustification.

hasUnstructuredJustification()

public boolean hasUnstructuredJustification()

A free form textual justification. The system only ensures that this is not empty. No other kind of validation is performed on the string.

string unstructured_justification = 1;

Returns
Type Description
boolean

Whether the unstructuredJustification field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Justification other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setUnstructuredJustification(String value)

public Justification.Builder setUnstructuredJustification(String value)

A free form textual justification. The system only ensures that this is not empty. No other kind of validation is performed on the string.

string unstructured_justification = 1;

Parameter
Name Description
value String

The unstructuredJustification to set.

Returns
Type Description
Justification.Builder

This builder for chaining.

setUnstructuredJustificationBytes(ByteString value)

public Justification.Builder setUnstructuredJustificationBytes(ByteString value)

A free form textual justification. The system only ensures that this is not empty. No other kind of validation is performed on the string.

string unstructured_justification = 1;

Parameter
Name Description
value ByteString

The bytes for unstructuredJustification to set.

Returns
Type Description
Justification.Builder

This builder for chaining.