Interface CreatePluginInstanceRequestOrBuilder (0.28.0)

public interface CreatePluginInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent of the plugin instance resource. Format: projects/{project}/locations/{location}/plugins/{plugin}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent of the plugin instance resource. Format: projects/{project}/locations/{location}/plugins/{plugin}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPluginInstance()

public abstract PluginInstance getPluginInstance()

Required. The plugin instance to create.

.google.cloud.apihub.v1.PluginInstance plugin_instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginInstance

The pluginInstance.

getPluginInstanceId()

public abstract String getPluginInstanceId()

Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource.
  • If not provided, a system generated id will be used.

    This value should be 4-63 characters, and valid characters are /a-z[0-9]-_/.

string plugin_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pluginInstanceId.

getPluginInstanceIdBytes()

public abstract ByteString getPluginInstanceIdBytes()

Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource.
  • If not provided, a system generated id will be used.

    This value should be 4-63 characters, and valid characters are /a-z[0-9]-_/.

string plugin_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pluginInstanceId.

getPluginInstanceOrBuilder()

public abstract PluginInstanceOrBuilder getPluginInstanceOrBuilder()

Required. The plugin instance to create.

.google.cloud.apihub.v1.PluginInstance plugin_instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PluginInstanceOrBuilder

hasPluginInstance()

public abstract boolean hasPluginInstance()

Required. The plugin instance to create.

.google.cloud.apihub.v1.PluginInstance plugin_instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pluginInstance field is set.