public interface MessageTransformOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()
Optional. If set to true, the transform is enabled. If false, the transform
is disabled and will not be applied to messages. Defaults to true
.
bool enabled = 3 [(.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 |
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. |