Class ApplicationConfigs.EventDeliveryConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.Builder>
com.google.cloud.visionai.v1.ApplicationConfigs.EventDeliveryConfig.Builder
All Implemented Interfaces:
ApplicationConfigs.EventDeliveryConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ApplicationConfigs.EventDeliveryConfig

public static final class ApplicationConfigs.EventDeliveryConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.Builder> implements ApplicationConfigs.EventDeliveryConfigOrBuilder
 message storing the config for event delivery
 
Protobuf type google.cloud.visionai.v1.ApplicationConfigs.EventDeliveryConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.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.GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.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.GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ApplicationConfigs.EventDeliveryConfig.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<ApplicationConfigs.EventDeliveryConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.Builder>
    • mergeFrom

      public ApplicationConfigs.EventDeliveryConfig.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<ApplicationConfigs.EventDeliveryConfig.Builder>
      Throws:
      IOException
    • getChannel

      public String getChannel()
       The delivery channel for the event notification, only pub/sub topic is
       supported now.
       Example channel:
       [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
       
      string channel = 1;
      Specified by:
      getChannel in interface ApplicationConfigs.EventDeliveryConfigOrBuilder
      Returns:
      The channel.
    • getChannelBytes

      public com.google.protobuf.ByteString getChannelBytes()
       The delivery channel for the event notification, only pub/sub topic is
       supported now.
       Example channel:
       [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
       
      string channel = 1;
      Specified by:
      getChannelBytes in interface ApplicationConfigs.EventDeliveryConfigOrBuilder
      Returns:
      The bytes for channel.
    • setChannel

       The delivery channel for the event notification, only pub/sub topic is
       supported now.
       Example channel:
       [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
       
      string channel = 1;
      Parameters:
      value - The channel to set.
      Returns:
      This builder for chaining.
    • clearChannel

       The delivery channel for the event notification, only pub/sub topic is
       supported now.
       Example channel:
       [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
       
      string channel = 1;
      Returns:
      This builder for chaining.
    • setChannelBytes

      public ApplicationConfigs.EventDeliveryConfig.Builder setChannelBytes(com.google.protobuf.ByteString value)
       The delivery channel for the event notification, only pub/sub topic is
       supported now.
       Example channel:
       [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
       
      string channel = 1;
      Parameters:
      value - The bytes for channel to set.
      Returns:
      This builder for chaining.
    • hasMinimalDeliveryInterval

      public boolean hasMinimalDeliveryInterval()
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
      Specified by:
      hasMinimalDeliveryInterval in interface ApplicationConfigs.EventDeliveryConfigOrBuilder
      Returns:
      Whether the minimalDeliveryInterval field is set.
    • getMinimalDeliveryInterval

      public com.google.protobuf.Duration getMinimalDeliveryInterval()
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
      Specified by:
      getMinimalDeliveryInterval in interface ApplicationConfigs.EventDeliveryConfigOrBuilder
      Returns:
      The minimalDeliveryInterval.
    • setMinimalDeliveryInterval

      public ApplicationConfigs.EventDeliveryConfig.Builder setMinimalDeliveryInterval(com.google.protobuf.Duration value)
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
    • setMinimalDeliveryInterval

      public ApplicationConfigs.EventDeliveryConfig.Builder setMinimalDeliveryInterval(com.google.protobuf.Duration.Builder builderForValue)
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
    • mergeMinimalDeliveryInterval

      public ApplicationConfigs.EventDeliveryConfig.Builder mergeMinimalDeliveryInterval(com.google.protobuf.Duration value)
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
    • clearMinimalDeliveryInterval

      public ApplicationConfigs.EventDeliveryConfig.Builder clearMinimalDeliveryInterval()
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
    • getMinimalDeliveryIntervalBuilder

      public com.google.protobuf.Duration.Builder getMinimalDeliveryIntervalBuilder()
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
    • getMinimalDeliveryIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getMinimalDeliveryIntervalOrBuilder()
       The expected delivery interval for the same event. The same event won't
       be notified multiple times during this internal event that it is
       happening multiple times during the period of time.The same event is
       identified by <event_id, app_platform_metadata>.
       
      .google.protobuf.Duration minimal_delivery_interval = 2;
      Specified by:
      getMinimalDeliveryIntervalOrBuilder in interface ApplicationConfigs.EventDeliveryConfigOrBuilder