Class ApplicationConfigs.EventDeliveryConfig (0.10.0)

public static final class ApplicationConfigs.EventDeliveryConfig extends GeneratedMessageV3 implements ApplicationConfigs.EventDeliveryConfigOrBuilder

message storing the config for event delivery

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ApplicationConfigs.EventDeliveryConfig

Static Fields

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

MINIMAL_DELIVERY_INTERVAL_FIELD_NUMBER

public static final int MINIMAL_DELIVERY_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApplicationConfigs.EventDeliveryConfig getDefaultInstance()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig

getDescriptor()

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

newBuilder()

public static ApplicationConfigs.EventDeliveryConfig.Builder newBuilder()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

newBuilder(ApplicationConfigs.EventDeliveryConfig prototype)

public static ApplicationConfigs.EventDeliveryConfig.Builder newBuilder(ApplicationConfigs.EventDeliveryConfig prototype)
Parameter
Name Description
prototype ApplicationConfigs.EventDeliveryConfig
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

parseDelimitedFrom(InputStream input)

public static ApplicationConfigs.EventDeliveryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplicationConfigs.EventDeliveryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ApplicationConfigs.EventDeliveryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ApplicationConfigs.EventDeliveryConfig> parser()
Returns
Type Description
Parser<EventDeliveryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

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

getParserForType()

public Parser<ApplicationConfigs.EventDeliveryConfig> getParserForType()
Returns
Type Description
Parser<EventDeliveryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ApplicationConfigs.EventDeliveryConfig.Builder newBuilderForType()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ApplicationConfigs.EventDeliveryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ApplicationConfigs.EventDeliveryConfig.Builder toBuilder()
Returns
Type Description
ApplicationConfigs.EventDeliveryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException