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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • clear

      public EventDetail.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • getDefaultInstanceForType

      public EventDetail getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public EventDetail build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EventDetail buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public EventDetail.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • setField

      public EventDetail.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • clearField

      public EventDetail.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • clearOneof

      public EventDetail.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • setRepeatedField

      public EventDetail.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • addRepeatedField

      public EventDetail.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • mergeFrom

      public EventDetail.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventDetail.Builder>
    • mergeFrom

      public EventDetail.Builder mergeFrom(EventDetail other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasTenant in interface EventDetailOrBuilder
      Returns:
      Whether the tenant field is set.
    • getTenant

      public EventDetail.TenantDetail 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:
      getTenant in interface EventDetailOrBuilder
      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

      public EventDetail.Builder setTenant(EventDetail.TenantDetail.Builder builderForValue)
       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

      public EventDetail.Builder mergeTenant(EventDetail.TenantDetail value)
       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

      public EventDetail.Builder 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

      public EventDetail.TenantDetail.Builder 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

      public EventDetail.TenantDetailOrBuilder 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:
      getTenantOrBuilder in interface EventDetailOrBuilder
    • 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:
      hasUser in interface EventDetailOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public EventDetail.UserDetail 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:
      getUser in interface EventDetailOrBuilder
      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

      public EventDetail.Builder setUser(EventDetail.UserDetail.Builder builderForValue)
       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

      public EventDetail.Builder mergeUser(EventDetail.UserDetail value)
       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

      public EventDetail.Builder 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

      public EventDetail.UserDetail.Builder 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

      public EventDetail.UserDetailOrBuilder 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:
      getUserOrBuilder in interface EventDetailOrBuilder
    • 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:
      hasRepository in interface EventDetailOrBuilder
      Returns:
      Whether the repository field is set.
    • getRepository

      public EventDetail.RepositoryDetail 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:
      getRepository in interface EventDetailOrBuilder
      Returns:
      The repository.
    • setRepository

      public EventDetail.Builder setRepository(EventDetail.RepositoryDetail value)
       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

      public EventDetail.Builder setRepository(EventDetail.RepositoryDetail.Builder builderForValue)
       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

      public EventDetail.Builder mergeRepository(EventDetail.RepositoryDetail value)
       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

      public EventDetail.Builder 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

      public EventDetail.RepositoryDetail.Builder 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

      public EventDetail.RepositoryDetailOrBuilder 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:
      getRepositoryOrBuilder in interface EventDetailOrBuilder
    • 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:
      hasClient in interface EventDetailOrBuilder
      Returns:
      Whether the client field is set.
    • getClient

      public EventDetail.ClientDetail 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:
      getClient in interface EventDetailOrBuilder
      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

      public EventDetail.Builder 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).
       
      .buildless.telemetry.EventDetail.ClientDetail client = 4 [json_name = "client"];
    • mergeClient

      public EventDetail.Builder mergeClient(EventDetail.ClientDetail value)
       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

      public EventDetail.Builder 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

      public EventDetail.ClientDetail.Builder 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

      public EventDetail.ClientDetailOrBuilder 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:
      getClientOrBuilder in interface EventDetailOrBuilder
    • setUnknownFields

      public final EventDetail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>
    • mergeUnknownFields

      public final EventDetail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventDetail.Builder>