Package com.buildless.service.v1
Interface CreateProjectRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateProjectRequest,CreateProjectRequest.Builder
public interface CreateProjectRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetDry()Specifies that this request should not actually be persisted, but should be validated instead.Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or CLI for a single project creation flow.com.google.protobuf.ByteStringSpecifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or CLI for a single project creation flow.Specifies the project to be created.Specifies the project to be created.booleanSpecifies the project to be created.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
-
getDry
boolean getDry()Specifies that this request should not actually be persisted, but should be validated instead. This is useful for verifying that a project can be created without actually creating it, during a pre-flight step.
bool dry = 1 [json_name = "dry", (.google.api.field_behavior) = OPTIONAL];- Returns:
- The dry.
-
hasProject
boolean hasProject()Specifies the project to be created. This field is required. A "draft" project holds the fields which are required (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting project is returned to the client.
.buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- Whether the project field is set.
-
getProject
Project.Draft getProject()Specifies the project to be created. This field is required. A "draft" project holds the fields which are required (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting project is returned to the client.
.buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The project.
-
getProjectOrBuilder
Project.DraftOrBuilder getProjectOrBuilder()Specifies the project to be created. This field is required. A "draft" project holds the fields which are required (and optional) for creating a new project. The draft project is validated before being persisted, and the resulting project is returned to the client.
.buildless.projects.Project.Draft project = 2 [json_name = "project", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... } -
getIdempotencyKey
String getIdempotencyKey()Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or CLI for a single project creation flow. It is not required.
string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];- Returns:
- The idempotencyKey.
-
getIdempotencyKeyBytes
com.google.protobuf.ByteString getIdempotencyKeyBytes()Specifies a key which is used to de-duplicate similar requests; this is typically generated by the frontend UI or CLI for a single project creation flow. It is not required.
string idempotency_key = 3 [json_name = "idempotencyKey", (.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for idempotencyKey.
-