public static final class Grant.Timeline.Builder extends GeneratedMessage.Builder<Grant.Timeline.Builder> implements Grant.TimelineOrBuilder
Timeline of a grant describing what happened to it and when.
Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.Timeline
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllEvents(Iterable<? extends Grant.Timeline.Event> values)
public Grant.Timeline.Builder addAllEvents(Iterable<? extends Grant.Timeline.Event> values)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event>
|
addEvents(Grant.Timeline.Event value)
public Grant.Timeline.Builder addEvents(Grant.Timeline.Event value)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEvents(Grant.Timeline.Event.Builder builderForValue)
public Grant.Timeline.Builder addEvents(Grant.Timeline.Event.Builder builderForValue)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEvents(int index, Grant.Timeline.Event value)
public Grant.Timeline.Builder addEvents(int index, Grant.Timeline.Event value)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEvents(int index, Grant.Timeline.Event.Builder builderForValue)
public Grant.Timeline.Builder addEvents(int index, Grant.Timeline.Event.Builder builderForValue)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEventsBuilder()
public Grant.Timeline.Event.Builder addEventsBuilder()
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addEventsBuilder(int index)
public Grant.Timeline.Event.Builder addEventsBuilder(int index)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
build()
public Grant.Timeline build()
buildPartial()
public Grant.Timeline buildPartial()
clear()
public Grant.Timeline.Builder clear()
Overrides
clearEvents()
public Grant.Timeline.Builder clearEvents()
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Grant.Timeline getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEvents(int index)
public Grant.Timeline.Event getEvents(int index)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getEventsBuilder(int index)
public Grant.Timeline.Event.Builder getEventsBuilder(int index)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getEventsBuilderList()
public List<Grant.Timeline.Event.Builder> getEventsBuilderList()
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEventsCount()
public int getEventsCount()
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getEventsList()
public List<Grant.Timeline.Event> getEventsList()
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEventsOrBuilder(int index)
public Grant.Timeline.EventOrBuilder getEventsOrBuilder(int index)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getEventsOrBuilderList()
public List<? extends Grant.Timeline.EventOrBuilder> getEventsOrBuilderList()
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.privilegedaccessmanager.v1.Grant.Timeline.EventOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Grant.Timeline other)
public Grant.Timeline.Builder mergeFrom(Grant.Timeline other)
public Grant.Timeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Grant.Timeline.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeEvents(int index)
public Grant.Timeline.Builder removeEvents(int index)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
setEvents(int index, Grant.Timeline.Event value)
public Grant.Timeline.Builder setEvents(int index, Grant.Timeline.Event value)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setEvents(int index, Grant.Timeline.Event.Builder builderForValue)
public Grant.Timeline.Builder setEvents(int index, Grant.Timeline.Event.Builder builderForValue)
Output only. The events that have occurred on this grant. This list
contains entries in the same order as they occurred. The first entry is
always be of type Requested and there is always at least one entry in
this array.
repeated .google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];