Class Justification.Builder (0.9.0)

public static final class Justification.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearJustification()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Justification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.