Package com.buildless.projects
Class Project.Draft
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.projects.Project.Draft
- All Implemented Interfaces:
Project.DraftOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
Project
public static final class Project.Draft
extends com.google.protobuf.GeneratedMessageV3
implements Project.DraftOrBuilder
## Project Draft Models the structure of a project when it is in a draft state. This is used when creating a new project, to apply validation logic and property structure (for example, input-only fields). Project drafts are submitted to the appropriate API endpoint under an authorized user's account. The account scope selected by the user is used when creating the project.Protobuf type
buildless.projects.Project.Draft- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## Project Draft Models the structure of a project when it is in a draft state.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Project.Draftstatic final com.google.protobuf.Descriptors.Descriptor"Display name" to show as a label for the new project within UIs and when presenting lists of projects to users.com.google.protobuf.ByteString"Display name" to show as a label for the new project within UIs and when presenting lists of projects to users.getName()"Short name" to specify for a new project; this name will be used by default when referencing the project in configurations, URLs, and over the API.com.google.protobuf.ByteString"Short name" to specify for a new project; this name will be used by default when referencing the project in configurations, URLs, and over the API.com.google.protobuf.Parser<Project.Draft>booleangetSelf()Specifies the current user as the owner for the new project.intDraft of active settings which should apply to the new project.Draft of active settings which should apply to the new project.Specifies the name of the tenant organization which should own the new project.com.google.protobuf.ByteStringSpecifies the name of the tenant organization which should own the new project.inthashCode()booleanhasSelf()Specifies the current user as the owner for the new project.booleanDraft of active settings which should apply to the new project.booleanSpecifies the name of the tenant organization which should own the new project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Project.Draft.Builderstatic Project.Draft.BuildernewBuilder(Project.Draft prototype) protected Project.Draft.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Project.DraftparseDelimitedFrom(InputStream input) static Project.DraftparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Project.DraftparseFrom(byte[] data) static Project.DraftparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Project.DraftparseFrom(com.google.protobuf.ByteString data) static Project.DraftparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Project.DraftparseFrom(com.google.protobuf.CodedInputStream input) static Project.DraftparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Project.DraftparseFrom(InputStream input) static Project.DraftparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Project.DraftparseFrom(ByteBuffer data) static Project.DraftparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Project.Draft>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SELF_FIELD_NUMBER
public static final int SELF_FIELD_NUMBER- See Also:
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
SETTINGS_FIELD_NUMBER
public static final int SETTINGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getOwnerCase
- Specified by:
getOwnerCasein interfaceProject.DraftOrBuilder
-
hasSelf
public boolean hasSelf()Specifies the current user as the owner for the new project.
bool self = 1 [json_name = "self", (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasSelfin interfaceProject.DraftOrBuilder- Returns:
- Whether the self field is set.
-
getSelf
public boolean getSelf()Specifies the current user as the owner for the new project.
bool self = 1 [json_name = "self", (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSelfin interfaceProject.DraftOrBuilder- Returns:
- The self.
-
hasTenant
public boolean hasTenant()Specifies the name of the tenant organization which should own the new project.
string tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }- Specified by:
hasTenantin interfaceProject.DraftOrBuilder- Returns:
- Whether the tenant field is set.
-
getTenant
Specifies the name of the tenant organization which should own the new project.
string tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }- Specified by:
getTenantin interfaceProject.DraftOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()Specifies the name of the tenant organization which should own the new project.
string tenant = 2 [json_name = "tenant", (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }- Specified by:
getTenantBytesin interfaceProject.DraftOrBuilder- Returns:
- The bytes for tenant.
-
getName
"Short name" to specify for a new project; this name will be used by default when referencing the project in configurations, URLs, and over the API. This name must be unique within the owning account scope.
string name = 3 [json_name = "name", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }- Specified by:
getNamein interfaceProject.DraftOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()"Short name" to specify for a new project; this name will be used by default when referencing the project in configurations, URLs, and over the API. This name must be unique within the owning account scope.
string name = 3 [json_name = "name", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceProject.DraftOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
"Display name" to show as a label for the new project within UIs and when presenting lists of projects to users. The display name can be changed at any time.
string display_name = 4 [json_name = "displayName", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getDisplayNamein interfaceProject.DraftOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()"Display name" to show as a label for the new project within UIs and when presenting lists of projects to users. The display name can be changed at any time.
string display_name = 4 [json_name = "displayName", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getDisplayNameBytesin interfaceProject.DraftOrBuilder- Returns:
- The bytes for displayName.
-
hasSettings
public boolean hasSettings()Draft of active settings which should apply to the new project. See the `Settings.Draft` message for more about which fields are supported or required.
.buildless.projects.Project.Settings.Draft settings = 10 [json_name = "settings", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
hasSettingsin interfaceProject.DraftOrBuilder- Returns:
- Whether the settings field is set.
-
getSettings
Draft of active settings which should apply to the new project. See the `Settings.Draft` message for more about which fields are supported or required.
.buildless.projects.Project.Settings.Draft settings = 10 [json_name = "settings", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getSettingsin interfaceProject.DraftOrBuilder- Returns:
- The settings.
-
getSettingsOrBuilder
Draft of active settings which should apply to the new project. See the `Settings.Draft` message for more about which fields are supported or required.
.buildless.projects.Project.Settings.Draft settings = 10 [json_name = "settings", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getSettingsOrBuilderin interfaceProject.DraftOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Project.Draft parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Project.Draft parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Project.Draft parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Project.Draft parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Project.Draft parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Project.Draft parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Project.Draft parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Project.Draft parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Project.Draft parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Project.Draft parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Project.Draft.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-