Class Justification.Builder (0.27.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Justification . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Justification build ()
buildPartial()
public Justification buildPartial ()
clear()
public Justification . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Justification . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearJustification()
public Justification . Builder clearJustification ()
clearOneof(Descriptors.OneofDescriptor oneof)
public Justification . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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;
clone()
public Justification . Builder clone ()
Overrides
getDefaultInstanceForType()
public Justification getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getJustificationCase()
public Justification . JustificationCase getJustificationCase ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Justification other)
public Justification . Builder mergeFrom ( Justification other )
public Justification . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Justification . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Justification . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Justification . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Justification . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Justification . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,[]]