Class ApplicationConfigs.EventDeliveryConfig.Builder (0.10.0)

public static final class ApplicationConfigs.EventDeliveryConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApplicationConfigs.EventDeliveryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ApplicationConfigs.EventDeliveryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ApplicationConfigs.EventDeliveryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApplicationConfigs.EventDeliveryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public ApplicationConfigs.EventDeliveryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ApplicationConfigs.EventDeliveryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApplicationConfigs.EventDeliveryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides