Class ApplicationConfigs.EventDeliveryConfig.Builder (0.40.0)

public static final class ApplicationConfigs.EventDeliveryConfig.Builder extends GeneratedMessage.Builder<ApplicationConfigs.EventDeliveryConfig.Builder> implements ApplicationConfigs.EventDeliveryConfigOrBuilder

message storing the config for event delivery

Protobuf type google.cloud.visionai.v1.ApplicationConfigs.EventDeliveryConfig

Static Methods

getDescriptor()

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

Methods

build()

public ApplicationConfigs.EventDeliveryConfig build()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig

buildPartial()

public ApplicationConfigs.EventDeliveryConfig buildPartial()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig

clear()

public ApplicationConfigs.EventDeliveryConfig.Builder clear()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

clearChannel()

public ApplicationConfigs.EventDeliveryConfig.Builder 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
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

This builder for chaining.

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;

Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

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;

Returns
Type Description
String

The channel.

getChannelBytes()

public 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;

Returns
Type Description
ByteString

The bytes for channel.

getDefaultInstanceForType()

public ApplicationConfigs.EventDeliveryConfig getDefaultInstanceForType()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMinimalDeliveryInterval()

public 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;

Returns
Type Description
Duration

The minimalDeliveryInterval.

getMinimalDeliveryIntervalBuilder()

public 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;

Returns
Type Description
Builder

getMinimalDeliveryIntervalOrBuilder()

public 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;

Returns
Type Description
DurationOrBuilder

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;

Returns
Type Description
boolean

Whether the minimalDeliveryInterval field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplicationConfigs.EventDeliveryConfig other)

public ApplicationConfigs.EventDeliveryConfig.Builder mergeFrom(ApplicationConfigs.EventDeliveryConfig other)
Parameter
Name Description
other ApplicationConfigs.EventDeliveryConfig
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApplicationConfigs.EventDeliveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApplicationConfigs.EventDeliveryConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

mergeMinimalDeliveryInterval(Duration value)

public ApplicationConfigs.EventDeliveryConfig.Builder mergeMinimalDeliveryInterval(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;

Parameter
Name Description
value Duration
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

setChannel(String value)

public ApplicationConfigs.EventDeliveryConfig.Builder setChannel(String 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;

Parameter
Name Description
value String

The channel to set.

Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

This builder for chaining.

setChannelBytes(ByteString value)

public ApplicationConfigs.EventDeliveryConfig.Builder setChannelBytes(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;

Parameter
Name Description
value ByteString

The bytes for channel to set.

Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

This builder for chaining.

setMinimalDeliveryInterval(Duration value)

public ApplicationConfigs.EventDeliveryConfig.Builder setMinimalDeliveryInterval(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;

Parameter
Name Description
value Duration
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

setMinimalDeliveryInterval(Duration.Builder builderForValue)

public ApplicationConfigs.EventDeliveryConfig.Builder setMinimalDeliveryInterval(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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder