Package com.buildless.service.v1
Class CreateProjectRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
com.buildless.service.v1.CreateProjectRequest.Builder
- All Implemented Interfaces:
CreateProjectRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
CreateProjectRequest
public static final class CreateProjectRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
implements CreateProjectRequestOrBuilder
### Create Project: Request Specifies the structure of a request to create a new Buildless project.Protobuf type
buildless.service.v1.CreateProjectRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearDry()Specifies that this request should not actually be persisted, but should be validated instead.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the project to be created.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleangetDry()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.Specifies the project to be created.booleanSpecifies the project to be created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CreateProjectRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProject(Project.Draft value) Specifies the project to be created.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDry(boolean value) Specifies that this request should not actually be persisted, but should be validated instead.setIdempotencyKey(String value) 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.setIdempotencyKeyBytes(com.google.protobuf.ByteString value) 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.setProject(Project.Draft value) Specifies the project to be created.setProject(Project.Draft.Builder builderForValue) Specifies the project to be created.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
setField
public CreateProjectRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
clearField
public CreateProjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
clearOneof
public CreateProjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
setRepeatedField
public CreateProjectRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
addRepeatedField
public CreateProjectRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateProjectRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
mergeFrom
public CreateProjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateProjectRequest.Builder>- Throws:
IOException
-
getDry
public 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];- Specified by:
getDryin interfaceCreateProjectRequestOrBuilder- Returns:
- The dry.
-
setDry
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];- Parameters:
value- The dry to set.- Returns:
- This builder for chaining.
-
clearDry
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:
- This builder for chaining.
-
hasProject
public 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) = { ... }- Specified by:
hasProjectin interfaceCreateProjectRequestOrBuilder- Returns:
- Whether the project field is set.
-
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) = { ... }- Specified by:
getProjectin interfaceCreateProjectRequestOrBuilder- Returns:
- The project.
-
setProject
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) = { ... } -
setProject
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) = { ... } -
mergeProject
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) = { ... } -
clearProject
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) = { ... } -
getProjectBuilder
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) = { ... } -
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) = { ... }- Specified by:
getProjectOrBuilderin interfaceCreateProjectRequestOrBuilder
-
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];- Specified by:
getIdempotencyKeyin interfaceCreateProjectRequestOrBuilder- Returns:
- The idempotencyKey.
-
getIdempotencyKeyBytes
public 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];- Specified by:
getIdempotencyKeyBytesin interfaceCreateProjectRequestOrBuilder- Returns:
- The bytes for idempotencyKey.
-
setIdempotencyKey
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];- Parameters:
value- The idempotencyKey to set.- Returns:
- This builder for chaining.
-
clearIdempotencyKey
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:
- This builder for chaining.
-
setIdempotencyKeyBytes
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];- Parameters:
value- The bytes for idempotencyKey to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CreateProjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-
mergeUnknownFields
public final CreateProjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProjectRequest.Builder>
-