Interface MessageTransformOrBuilder (1.145.0)

public interface MessageTransformOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAiInference()

public abstract AIInference getAiInference()

Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the Pub/Sub message data and provided parameters will be sent to.

.google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AIInference

The aiInference.

getAiInferenceOrBuilder()

public abstract AIInferenceOrBuilder getAiInferenceOrBuilder()

Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the Pub/Sub message data and provided parameters will be sent to.

.google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AIInferenceOrBuilder

getDisabled()

public abstract boolean getDisabled()

Optional. If true, the transform is disabled and will not be applied to messages. Defaults to false.

bool disabled = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disabled.

getEnabled() (deprecated)

public abstract boolean getEnabled()

Deprecated. google.pubsub.v1.MessageTransform.enabled is deprecated. See google/pubsub/v1/pubsub.proto;l=857

Optional. This field is deprecated, use the disabled field to disable transforms.

bool enabled = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getJavascriptUdf()

public abstract JavaScriptUDF getJavascriptUdf()

Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique function_name.

.google.pubsub.v1.JavaScriptUDF javascript_udf = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
JavaScriptUDF

The javascriptUdf.

getJavascriptUdfOrBuilder()

public abstract JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder()

Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique function_name.

.google.pubsub.v1.JavaScriptUDF javascript_udf = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
JavaScriptUDFOrBuilder

getTransformCase()

public abstract MessageTransform.TransformCase getTransformCase()
Returns
Type Description
MessageTransform.TransformCase

hasAiInference()

public abstract boolean hasAiInference()

Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the Pub/Sub message data and provided parameters will be sent to.

.google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the aiInference field is set.

hasJavascriptUdf()

public abstract boolean hasJavascriptUdf()

Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique function_name.

.google.pubsub.v1.JavaScriptUDF javascript_udf = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the javascriptUdf field is set.