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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    ## Project Draft Models the structure of a project when it is in a draft state.
    static enum 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static 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.
    "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>
     
    boolean
    Specifies the current user as the owner for the new project.
    int
     
    Draft 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.ByteString
    Specifies the name of the tenant organization which should own the new project.
    int
     
    boolean
    Specifies the current user as the owner for the new project.
    boolean
    Draft of active settings which should apply to the new project.
    boolean
    Specifies the name of the tenant organization which should own the new project.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Project.Draft>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getOwnerCase

      public Project.Draft.OwnerCase getOwnerCase()
      Specified by:
      getOwnerCase in interface Project.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:
      hasSelf in interface Project.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:
      getSelf in interface Project.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:
      hasTenant in interface Project.DraftOrBuilder
      Returns:
      Whether the tenant field is set.
    • getTenant

      public String 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:
      getTenant in interface Project.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:
      getTenantBytes in interface Project.DraftOrBuilder
      Returns:
      The bytes for tenant.
    • getName

      public String 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:
      getName in interface Project.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:
      getNameBytes in interface Project.DraftOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String 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:
      getDisplayName in interface Project.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:
      getDisplayNameBytes in interface Project.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:
      hasSettings in interface Project.DraftOrBuilder
      Returns:
      Whether the settings field is set.
    • getSettings

      public Project.Settings.Draft 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:
      getSettings in interface Project.DraftOrBuilder
      Returns:
      The settings.
    • getSettingsOrBuilder

      public Project.Settings.DraftOrBuilder 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:
      getSettingsOrBuilder in interface Project.DraftOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Project.Draft parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Project.Draft parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Project.Draft parseDelimitedFrom(InputStream input) throws IOException
      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

      public Project.Draft.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Project.Draft.Builder newBuilder()
    • newBuilder

      public static Project.Draft.Builder newBuilder(Project.Draft prototype)
    • toBuilder

      public Project.Draft.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Project.Draft.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Project.Draft getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Project.Draft> parser()
    • getParserForType

      public com.google.protobuf.Parser<Project.Draft> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Project.Draft getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder