Package com.google.cloud.aiplatform.v1
Interface CreatePersistentResourceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreatePersistentResourceRequest,CreatePersistentResourceRequest.Builder
@Generated
public interface CreatePersistentResourceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.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 resource name of the Location to create the PersistentResource in. 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 resource name of the Location to create the PersistentResource in. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasPersistentResource
boolean hasPersistentResource()Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the persistentResource field is set.
-
getPersistentResource
PersistentResource getPersistentResource()Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The persistentResource.
-
getPersistentResourceOrBuilder
PersistentResourceOrBuilder getPersistentResourceOrBuilder()Required. The PersistentResource to create.
.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED]; -
getPersistentResourceId
String getPersistentResourceId()Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The persistentResourceId.
-
getPersistentResourceIdBytes
com.google.protobuf.ByteString getPersistentResourceIdBytes()Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for persistentResourceId.
-