Package com.google.cloud.apihub.v1
Interface CreatePluginRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreatePluginRequest,CreatePluginRequest.Builder
@Generated
public interface CreatePluginRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getPluginId
String getPluginId()Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin'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 resource in the API hub instance. * If not provided, a system generated id will be used. This value should be 4-63 characters, overall resource name which will be of format `projects/{project}/locations/{location}/plugins/{plugin}`, its length is limited to 1000 characters and valid characters are /[a-z][A-Z][0-9]-_/.string plugin_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The pluginId.
-
getPluginIdBytes
com.google.protobuf.ByteString getPluginIdBytes()Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin'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 resource in the API hub instance. * If not provided, a system generated id will be used. This value should be 4-63 characters, overall resource name which will be of format `projects/{project}/locations/{location}/plugins/{plugin}`, its length is limited to 1000 characters and valid characters are /[a-z][A-Z][0-9]-_/.string plugin_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for pluginId.
-
hasPlugin
boolean hasPlugin()Required. The plugin to create.
.google.cloud.apihub.v1.Plugin plugin = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the plugin field is set.
-
getPlugin
Plugin getPlugin()Required. The plugin to create.
.google.cloud.apihub.v1.Plugin plugin = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The plugin.
-
getPluginOrBuilder
PluginOrBuilder getPluginOrBuilder()Required. The plugin to create.
.google.cloud.apihub.v1.Plugin plugin = 3 [(.google.api.field_behavior) = REQUIRED];
-