Class Grant.Timeline (0.8.0)

public static final class Grant.Timeline extends GeneratedMessageV3 implements Grant.TimelineOrBuilder

Timeline of a grant describing what happened to it and when.

Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.Timeline

Static Fields

EVENTS_FIELD_NUMBER

public static final int EVENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Grant.Timeline getDefaultInstance()
Returns
Type Description
Grant.Timeline

getDescriptor()

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

newBuilder()

public static Grant.Timeline.Builder newBuilder()
Returns
Type Description
Grant.Timeline.Builder

newBuilder(Grant.Timeline prototype)

public static Grant.Timeline.Builder newBuilder(Grant.Timeline prototype)
Parameter
Name Description
prototype Grant.Timeline
Returns
Type Description
Grant.Timeline.Builder

parseDelimitedFrom(InputStream input)

public static Grant.Timeline parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Grant.Timeline parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Grant.Timeline parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Grant.Timeline parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Grant.Timeline parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Grant.Timeline parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Grant.Timeline> parser()
Returns
Type Description
Parser<Timeline>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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

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>

getParserForType()

public Parser<Grant.Timeline> getParserForType()
Returns
Type Description
Parser<Timeline>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Grant.Timeline.Builder newBuilderForType()
Returns
Type Description
Grant.Timeline.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Grant.Timeline.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Grant.Timeline.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Grant.Timeline.Builder toBuilder()
Returns
Type Description
Grant.Timeline.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException