public interface MessageTransformOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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=726
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 |
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. |