Class Grant.Timeline.Builder (0.8.0)

public static final class Grant.Timeline.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
Grant.Timeline.Builder

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];

Parameter
Name Description
value Grant.Timeline.Event
Returns
Type Description
Grant.Timeline.Builder

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];

Parameter
Name Description
builderForValue Grant.Timeline.Event.Builder
Returns
Type Description
Grant.Timeline.Builder

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];

Parameters
Name Description
index int
value Grant.Timeline.Event
Returns
Type Description
Grant.Timeline.Builder

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];

Parameters
Name Description
index int
builderForValue Grant.Timeline.Event.Builder
Returns
Type Description
Grant.Timeline.Builder

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];

Returns
Type Description
Grant.Timeline.Event.Builder

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
Returns
Type Description
Grant.Timeline.Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Grant.Timeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Grant.Timeline.Builder
Overrides

build()

public Grant.Timeline build()
Returns
Type Description
Grant.Timeline

buildPartial()

public Grant.Timeline buildPartial()
Returns
Type Description
Grant.Timeline

clear()

public Grant.Timeline.Builder clear()
Returns
Type Description
Grant.Timeline.Builder
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];

Returns
Type Description
Grant.Timeline.Builder

clearField(Descriptors.FieldDescriptor field)

public Grant.Timeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Grant.Timeline.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Grant.Timeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Grant.Timeline.Builder
Overrides

clone()

public Grant.Timeline.Builder clone()
Returns
Type Description
Grant.Timeline.Builder
Overrides

getDefaultInstanceForType()

public Grant.Timeline getDefaultInstanceForType()
Returns
Type Description
Grant.Timeline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
Grant.Timeline.Event

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
Returns
Type Description
Grant.Timeline.Event.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
List<Event>

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
Returns
Type Description
Grant.Timeline.EventOrBuilder

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Grant.Timeline other)

public Grant.Timeline.Builder mergeFrom(Grant.Timeline other)
Parameter
Name Description
other Grant.Timeline
Returns
Type Description
Grant.Timeline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Grant.Timeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Grant.Timeline.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Grant.Timeline.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Grant.Timeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Grant.Timeline.Builder
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
Returns
Type Description
Grant.Timeline.Builder

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];

Parameters
Name Description
index int
value Grant.Timeline.Event
Returns
Type Description
Grant.Timeline.Builder

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];

Parameters
Name Description
index int
builderForValue Grant.Timeline.Event.Builder
Returns
Type Description
Grant.Timeline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Grant.Timeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Grant.Timeline.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Grant.Timeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Grant.Timeline.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Grant.Timeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Grant.Timeline.Builder
Overrides