Class Project.Settings.Draft.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
com.buildless.projects.Project.Settings.Draft.Builder
All Implemented Interfaces:
Project.Settings.DraftOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Project.Settings.Draft

public static final class Project.Settings.Draft.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder> implements Project.Settings.DraftOrBuilder
 ### Project Settings: Draft

 Models the structure of a project's settings when it is in a draft state. This is used when creating a new
 project, to apply proper validation logic.
 
Protobuf type buildless.projects.Project.Settings.Draft
  • Method Details

    • 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.Builder<Project.Settings.Draft.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • getDefaultInstanceForType

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

      public Project.Settings.Draft build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Project.Settings.Draft buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • setField

      public Project.Settings.Draft.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • clearField

      public Project.Settings.Draft.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • clearOneof

      public Project.Settings.Draft.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • setRepeatedField

      public Project.Settings.Draft.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • addRepeatedField

      public Project.Settings.Draft.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • mergeFrom

      public Project.Settings.Draft.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.Settings.Draft.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • mergeFrom

      public Project.Settings.Draft.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.Settings.Draft.Builder>
      Throws:
      IOException
    • getVisibilityValue

      public int getVisibilityValue()
       Desired initial visibility mode for this project; this governs the default access controls which apply to the
       data held by the project. See the `Visibility` enum for more information about each mode.
       
      .buildless.projects.Visibility visibility = 1 [json_name = "visibility", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVisibilityValue in interface Project.Settings.DraftOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • setVisibilityValue

      public Project.Settings.Draft.Builder setVisibilityValue(int value)
       Desired initial visibility mode for this project; this governs the default access controls which apply to the
       data held by the project. See the `Visibility` enum for more information about each mode.
       
      .buildless.projects.Visibility visibility = 1 [json_name = "visibility", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for visibility to set.
      Returns:
      This builder for chaining.
    • getVisibility

      public Visibility getVisibility()
       Desired initial visibility mode for this project; this governs the default access controls which apply to the
       data held by the project. See the `Visibility` enum for more information about each mode.
       
      .buildless.projects.Visibility visibility = 1 [json_name = "visibility", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVisibility in interface Project.Settings.DraftOrBuilder
      Returns:
      The visibility.
    • setVisibility

      public Project.Settings.Draft.Builder setVisibility(Visibility value)
       Desired initial visibility mode for this project; this governs the default access controls which apply to the
       data held by the project. See the `Visibility` enum for more information about each mode.
       
      .buildless.projects.Visibility visibility = 1 [json_name = "visibility", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The visibility to set.
      Returns:
      This builder for chaining.
    • clearVisibility

      public Project.Settings.Draft.Builder clearVisibility()
       Desired initial visibility mode for this project; this governs the default access controls which apply to the
       data held by the project. See the `Visibility` enum for more information about each mode.
       
      .buildless.projects.Visibility visibility = 1 [json_name = "visibility", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getIsolationValue

      public int getIsolationValue()
       Desired initial isolation mode for this project; this governs how (or if) read and write operations interact
       with the project's parent scope. See the `Isolation` enum for more information about each mode.
       
      .buildless.projects.Isolation isolation = 2 [json_name = "isolation", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolationValue in interface Project.Settings.DraftOrBuilder
      Returns:
      The enum numeric value on the wire for isolation.
    • setIsolationValue

      public Project.Settings.Draft.Builder setIsolationValue(int value)
       Desired initial isolation mode for this project; this governs how (or if) read and write operations interact
       with the project's parent scope. See the `Isolation` enum for more information about each mode.
       
      .buildless.projects.Isolation isolation = 2 [json_name = "isolation", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for isolation to set.
      Returns:
      This builder for chaining.
    • getIsolation

      public Isolation getIsolation()
       Desired initial isolation mode for this project; this governs how (or if) read and write operations interact
       with the project's parent scope. See the `Isolation` enum for more information about each mode.
       
      .buildless.projects.Isolation isolation = 2 [json_name = "isolation", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsolation in interface Project.Settings.DraftOrBuilder
      Returns:
      The isolation.
    • setIsolation

      public Project.Settings.Draft.Builder setIsolation(Isolation value)
       Desired initial isolation mode for this project; this governs how (or if) read and write operations interact
       with the project's parent scope. See the `Isolation` enum for more information about each mode.
       
      .buildless.projects.Isolation isolation = 2 [json_name = "isolation", (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isolation to set.
      Returns:
      This builder for chaining.
    • clearIsolation

      public Project.Settings.Draft.Builder clearIsolation()
       Desired initial isolation mode for this project; this governs how (or if) read and write operations interact
       with the project's parent scope. See the `Isolation` enum for more information about each mode.
       
      .buildless.projects.Isolation isolation = 2 [json_name = "isolation", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasDisplay

      public boolean hasDisplay()
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDisplay in interface Project.Settings.DraftOrBuilder
      Returns:
      Whether the display field is set.
    • getDisplay

      public DisplayOptions getDisplay()
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplay in interface Project.Settings.DraftOrBuilder
      Returns:
      The display.
    • setDisplay

       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
    • setDisplay

      public Project.Settings.Draft.Builder setDisplay(DisplayOptions.Builder builderForValue)
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
    • mergeDisplay

      public Project.Settings.Draft.Builder mergeDisplay(DisplayOptions value)
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
    • clearDisplay

      public Project.Settings.Draft.Builder clearDisplay()
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
    • getDisplayBuilder

      public DisplayOptions.Builder getDisplayBuilder()
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
    • getDisplayOrBuilder

      public DisplayOptionsOrBuilder getDisplayOrBuilder()
       Desired initial display and reporting settings which apply to this project. Some of these settings can be
       further customized by user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayOrBuilder in interface Project.Settings.DraftOrBuilder
    • setUnknownFields

      public final Project.Settings.Draft.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
    • mergeUnknownFields

      public final Project.Settings.Draft.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>