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