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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Justification.BuilderImplements
JustificationOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Justification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Justification.Builder |
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 |
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 |
getDefaultInstanceForType()
public Justification getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Justification |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Justification.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Justification.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Justification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Justification.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Justification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Justification.Builder |
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. |