Package com.buildless.telemetry
Class EventDetail
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.telemetry.EventDetail
- All Implemented Interfaces:
EventDetailOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class EventDetail
extends com.google.protobuf.GeneratedMessageV3
implements EventDetailOrBuilder
## Event Detail Specifies detailed information for a received telemetry event. Event detail is cross-referenced and enclosed in full automatically by the telemetry system. For example, the user or organization which delivered an event will be filled in and enclosed in the event payload.Protobuf type
buildless.telemetry.EventDetail- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## Event Detail Specifies detailed information for a received telemetry event.static final class### Event Detail: Client Specifies information about the client which is invoking the API.static interfacestatic final class### Event Detail: Repository Specifies information about the source code repository which this event relates to, as applicable.static interfacestatic final class### Event Detail: Tenant Specifies information about the tenant which this event relates to, as applicable.static interfacestatic final class### Event Detail: User Specifies information about the user which this event relates to, as applicable.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies detail information about the client which is invoking the API and delivering this telemetry event; in some cases, this may be replaced with the originating client (in multi-hop API scenarios).Specifies detail information about the client which is invoking the API and delivering this telemetry event; in some cases, this may be replaced with the originating client (in multi-hop API scenarios).static EventDetailstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<EventDetail>Specifies detail information for a source code repository which relates to a telemetry event.Specifies detail information for a source code repository which relates to a telemetry event.intSpecifies detail information for a tenant which relates to a telemetry event.Specifies detail information for a tenant which relates to a telemetry event.getUser()Specifies detail information for a user which relates to a telemetry event.Specifies detail information for a user which relates to a telemetry event.booleanSpecifies detail information about the client which is invoking the API and delivering this telemetry event; in some cases, this may be replaced with the originating client (in multi-hop API scenarios).inthashCode()booleanSpecifies detail information for a source code repository which relates to a telemetry event.booleanSpecifies detail information for a tenant which relates to a telemetry event.booleanhasUser()Specifies detail information for a user which relates to a telemetry event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic EventDetail.Builderstatic EventDetail.BuildernewBuilder(EventDetail prototype) protected EventDetail.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EventDetailparseDelimitedFrom(InputStream input) static EventDetailparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventDetailparseFrom(byte[] data) static EventDetailparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventDetailparseFrom(com.google.protobuf.ByteString data) static EventDetailparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventDetailparseFrom(com.google.protobuf.CodedInputStream input) static EventDetailparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventDetailparseFrom(InputStream input) static EventDetailparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventDetailparseFrom(ByteBuffer data) static EventDetailparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EventDetail>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER- See Also:
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER- See Also:
-
REPOSITORY_FIELD_NUMBER
public static final int REPOSITORY_FIELD_NUMBER- See Also:
-
CLIENT_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTenant
public boolean hasTenant()Specifies detail information for a tenant which relates to a telemetry event. Only present if an event is bound for an org tenant account, whether or not it is sent under a related user context.
.buildless.telemetry.EventDetail.TenantDetail tenant = 1 [json_name = "tenant"];- Specified by:
hasTenantin interfaceEventDetailOrBuilder- Returns:
- Whether the tenant field is set.
-
getTenant
Specifies detail information for a tenant which relates to a telemetry event. Only present if an event is bound for an org tenant account, whether or not it is sent under a related user context.
.buildless.telemetry.EventDetail.TenantDetail tenant = 1 [json_name = "tenant"];- Specified by:
getTenantin interfaceEventDetailOrBuilder- Returns:
- The tenant.
-
getTenantOrBuilder
Specifies detail information for a tenant which relates to a telemetry event. Only present if an event is bound for an org tenant account, whether or not it is sent under a related user context.
.buildless.telemetry.EventDetail.TenantDetail tenant = 1 [json_name = "tenant"];- Specified by:
getTenantOrBuilderin interfaceEventDetailOrBuilder
-
hasUser
public boolean hasUser()Specifies detail information for a user which relates to a telemetry event. Only present if an event is bound for an individual user account, or for a user account scope owned by a tenant, in which case `tenant` will be present.
.buildless.telemetry.EventDetail.UserDetail user = 2 [json_name = "user"];- Specified by:
hasUserin interfaceEventDetailOrBuilder- Returns:
- Whether the user field is set.
-
getUser
Specifies detail information for a user which relates to a telemetry event. Only present if an event is bound for an individual user account, or for a user account scope owned by a tenant, in which case `tenant` will be present.
.buildless.telemetry.EventDetail.UserDetail user = 2 [json_name = "user"];- Specified by:
getUserin interfaceEventDetailOrBuilder- Returns:
- The user.
-
getUserOrBuilder
Specifies detail information for a user which relates to a telemetry event. Only present if an event is bound for an individual user account, or for a user account scope owned by a tenant, in which case `tenant` will be present.
.buildless.telemetry.EventDetail.UserDetail user = 2 [json_name = "user"];- Specified by:
getUserOrBuilderin interfaceEventDetailOrBuilder
-
hasRepository
public boolean hasRepository()Specifies detail information for a source code repository which relates to a telemetry event. Only present if an event relates to a source code repository.
.buildless.telemetry.EventDetail.RepositoryDetail repository = 3 [json_name = "repository"];- Specified by:
hasRepositoryin interfaceEventDetailOrBuilder- Returns:
- Whether the repository field is set.
-
getRepository
Specifies detail information for a source code repository which relates to a telemetry event. Only present if an event relates to a source code repository.
.buildless.telemetry.EventDetail.RepositoryDetail repository = 3 [json_name = "repository"];- Specified by:
getRepositoryin interfaceEventDetailOrBuilder- Returns:
- The repository.
-
getRepositoryOrBuilder
Specifies detail information for a source code repository which relates to a telemetry event. Only present if an event relates to a source code repository.
.buildless.telemetry.EventDetail.RepositoryDetail repository = 3 [json_name = "repository"];- Specified by:
getRepositoryOrBuilderin interfaceEventDetailOrBuilder
-
hasClient
public boolean hasClient()Specifies detail information about the client which is invoking the API and delivering this telemetry event; in some cases, this may be replaced with the originating client (in multi-hop API scenarios).
.buildless.telemetry.EventDetail.ClientDetail client = 4 [json_name = "client"];- Specified by:
hasClientin interfaceEventDetailOrBuilder- Returns:
- Whether the client field is set.
-
getClient
Specifies detail information about the client which is invoking the API and delivering this telemetry event; in some cases, this may be replaced with the originating client (in multi-hop API scenarios).
.buildless.telemetry.EventDetail.ClientDetail client = 4 [json_name = "client"];- Specified by:
getClientin interfaceEventDetailOrBuilder- Returns:
- The client.
-
getClientOrBuilder
Specifies detail information about the client which is invoking the API and delivering this telemetry event; in some cases, this may be replaced with the originating client (in multi-hop API scenarios).
.buildless.telemetry.EventDetail.ClientDetail client = 4 [json_name = "client"];- Specified by:
getClientOrBuilderin interfaceEventDetailOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EventDetail parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventDetail parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventDetail parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventDetail parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventDetail parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EventDetail parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EventDetail parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EventDetail parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventDetail.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-