public static final class Grant.Timeline.Event.Approved.Builder extends GeneratedMessageV3.Builder<Grant.Timeline.Event.Approved.Builder> implements Grant.Timeline.Event.ApprovedOrBuilder
An event representing that the grant was approved.
Protobuf type
google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Approved
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 Grant.Timeline.Event.Approved.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Grant.Timeline.Event.Approved build()
buildPartial()
public Grant.Timeline.Event.Approved buildPartial()
clear()
public Grant.Timeline.Event.Approved.Builder clear()
Overrides
clearActor()
public Grant.Timeline.Event.Approved.Builder clearActor()
Output only. Username of the user who approved the grant.
string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public Grant.Timeline.Event.Approved.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Grant.Timeline.Event.Approved.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReason()
public Grant.Timeline.Event.Approved.Builder clearReason()
Output only. The reason provided by the approver for approving the
grant.
string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public Grant.Timeline.Event.Approved.Builder clone()
Overrides
getActor()
Output only. Username of the user who approved the grant.
string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The actor.
|
getActorBytes()
public ByteString getActorBytes()
Output only. Username of the user who approved the grant.
string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for actor.
|
getDefaultInstanceForType()
public Grant.Timeline.Event.Approved getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReason()
public String getReason()
Output only. The reason provided by the approver for approving the
grant.
string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The reason.
|
getReasonBytes()
public ByteString getReasonBytes()
Output only. The reason provided by the approver for approving the
grant.
string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for reason.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Grant.Timeline.Event.Approved other)
public Grant.Timeline.Event.Approved.Builder mergeFrom(Grant.Timeline.Event.Approved other)
public Grant.Timeline.Event.Approved.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Grant.Timeline.Event.Approved.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Grant.Timeline.Event.Approved.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setActor(String value)
public Grant.Timeline.Event.Approved.Builder setActor(String value)
Output only. Username of the user who approved the grant.
string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The actor to set.
|
setActorBytes(ByteString value)
public Grant.Timeline.Event.Approved.Builder setActorBytes(ByteString value)
Output only. Username of the user who approved the grant.
string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for actor to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Grant.Timeline.Event.Approved.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReason(String value)
public Grant.Timeline.Event.Approved.Builder setReason(String value)
Output only. The reason provided by the approver for approving the
grant.
string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The reason to set.
|
setReasonBytes(ByteString value)
public Grant.Timeline.Event.Approved.Builder setReasonBytes(ByteString value)
Output only. The reason provided by the approver for approving the
grant.
string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for reason to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Grant.Timeline.Event.Approved.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Grant.Timeline.Event.Approved.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides