public static final class PluginInstanceAction.ResourceConfig.Builder extends GeneratedMessage.Builder<PluginInstanceAction.ResourceConfig.Builder> implements PluginInstanceAction.ResourceConfigOrBuilderThe configuration of resources created for a given plugin instance action.
Protobuf type google.cloud.apihub.v1.PluginInstanceAction.ResourceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PluginInstanceAction.ResourceConfig.BuilderImplements
PluginInstanceAction.ResourceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PluginInstanceAction.ResourceConfig build()| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig |
|
buildPartial()
public PluginInstanceAction.ResourceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig |
|
clear()
public PluginInstanceAction.ResourceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
|
clearActionType()
public PluginInstanceAction.ResourceConfig.Builder clearActionType()Output only. The type of the action.
.google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
This builder for chaining. |
clearPubsubTopic()
public PluginInstanceAction.ResourceConfig.Builder clearPubsubTopic()Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
This builder for chaining. |
getActionType()
public ActionType getActionType()Output only. The type of the action.
.google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ActionType |
The actionType. |
getActionTypeValue()
public int getActionTypeValue()Output only. The type of the action.
.google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for actionType. |
getDefaultInstanceForType()
public PluginInstanceAction.ResourceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPubsubTopic()
public String getPubsubTopic()Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pubsubTopic. |
getPubsubTopicBytes()
public ByteString getPubsubTopicBytes()Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pubsubTopic. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PluginInstanceAction.ResourceConfig other)
public PluginInstanceAction.ResourceConfig.Builder mergeFrom(PluginInstanceAction.ResourceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PluginInstanceAction.ResourceConfig |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PluginInstanceAction.ResourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PluginInstanceAction.ResourceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
|
setActionType(ActionType value)
public PluginInstanceAction.ResourceConfig.Builder setActionType(ActionType value)Output only. The type of the action.
.google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ActionTypeThe actionType to set. |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
This builder for chaining. |
setActionTypeValue(int value)
public PluginInstanceAction.ResourceConfig.Builder setActionTypeValue(int value)Output only. The type of the action.
.google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for actionType to set. |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
This builder for chaining. |
setPubsubTopic(String value)
public PluginInstanceAction.ResourceConfig.Builder setPubsubTopic(String value)Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pubsubTopic to set. |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
This builder for chaining. |
setPubsubTopicBytes(ByteString value)
public PluginInstanceAction.ResourceConfig.Builder setPubsubTopicBytes(ByteString value)Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pubsubTopic to set. |
| Returns | |
|---|---|
| Type | Description |
PluginInstanceAction.ResourceConfig.Builder |
This builder for chaining. |