Package com.buildless.telemetry
Class EventDetail.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
com.buildless.telemetry.EventDetail.Builder
- All Implemented Interfaces:
EventDetailOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
EventDetail
public static final class EventDetail.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()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).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies detail information for a source code repository which relates to a telemetry event.Specifies detail information for a tenant which relates to a telemetry event.Specifies detail information for a user which relates to a telemetry event.clone()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).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).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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies 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.Specifies detail information for a source code repository which relates to a telemetry event.Specifies detail information for a tenant which relates to a telemetry event.Specifies 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.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).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 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).mergeFrom(EventDetail other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specifies detail information for a source code repository which relates to a telemetry event.Specifies detail information for a tenant which relates to a telemetry event.final EventDetail.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUser(EventDetail.UserDetail value) Specifies detail information for a user which relates to a telemetry event.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).setClient(EventDetail.ClientDetail.Builder builderForValue) 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).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Specifies detail information for a source code repository which relates to a telemetry event.setRepository(EventDetail.RepositoryDetail.Builder builderForValue) Specifies detail information for a source code repository which relates to a telemetry event.Specifies detail information for a tenant which relates to a telemetry event.setTenant(EventDetail.TenantDetail.Builder builderForValue) Specifies detail information for a tenant which relates to a telemetry event.final EventDetail.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUser(EventDetail.UserDetail value) Specifies detail information for a user which relates to a telemetry event.setUser(EventDetail.UserDetail.Builder builderForValue) Specifies detail information for a user which relates to a telemetry event.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<EventDetail.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
setField
public EventDetail.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
setRepeatedField
public EventDetail.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
addRepeatedField
public EventDetail.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventDetail.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
mergeFrom
public EventDetail.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventDetail.Builder>- Throws:
IOException
-
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.
-
setTenant
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"]; -
setTenant
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"]; -
mergeTenant
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"]; -
clearTenant
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"]; -
getTenantBuilder
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"]; -
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.
-
setUser
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"]; -
setUser
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"]; -
mergeUser
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"]; -
clearUser
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"]; -
getUserBuilder
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"]; -
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.
-
setRepository
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"]; -
setRepository
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"]; -
mergeRepository
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"]; -
clearRepository
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"]; -
getRepositoryBuilder
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"]; -
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.
-
setClient
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"]; -
setClient
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"]; -
mergeClient
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"]; -
clearClient
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"]; -
getClientBuilder
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"]; -
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
-
setUnknownFields
public final EventDetail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-
mergeUnknownFields
public final EventDetail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
-