Class Project.Settings.Builder

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

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

 Models project top-level settings. These settings apply to the project and all data it contains, regardless of the
 type of data or tool that uploaded it. Project settings are designed to be mutable, and can safely be updated over
 the lifecycle of the project.
 
Protobuf type buildless.projects.Project.Settings
  • 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.Builder>
    • clear

      public Project.Settings.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.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.Builder>
    • getDefaultInstanceForType

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

      public Project.Settings 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 buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Project.Settings.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.Builder>
    • setField

      public Project.Settings.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.Builder>
    • clearField

      public Project.Settings.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.Builder>
    • clearOneof

      public Project.Settings.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.Builder>
    • setRepeatedField

      public Project.Settings.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.Builder>
    • addRepeatedField

      public Project.Settings.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.Builder>
    • mergeFrom

      public Project.Settings.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.Builder>
    • mergeFrom

      public Project.Settings.Builder mergeFrom(Project.Settings other)
    • 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.Builder>
    • mergeFrom

      public Project.Settings.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.Builder>
      Throws:
      IOException
    • getVisibilityValue

      public int getVisibilityValue()
       Describes the 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) = OUTPUT_ONLY];
      Specified by:
      getVisibilityValue in interface Project.SettingsOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • setVisibilityValue

      public Project.Settings.Builder setVisibilityValue(int value)
       Describes the 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) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for visibility to set.
      Returns:
      This builder for chaining.
    • getVisibility

      public Visibility getVisibility()
       Describes the 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) = OUTPUT_ONLY];
      Specified by:
      getVisibility in interface Project.SettingsOrBuilder
      Returns:
      The visibility.
    • setVisibility

      public Project.Settings.Builder setVisibility(Visibility value)
       Describes the 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) = OUTPUT_ONLY];
      Parameters:
      value - The visibility to set.
      Returns:
      This builder for chaining.
    • clearVisibility

      public Project.Settings.Builder clearVisibility()
       Describes the 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) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getIsolationValue

      public int getIsolationValue()
       Describes the 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) = OUTPUT_ONLY];
      Specified by:
      getIsolationValue in interface Project.SettingsOrBuilder
      Returns:
      The enum numeric value on the wire for isolation.
    • setIsolationValue

      public Project.Settings.Builder setIsolationValue(int value)
       Describes the 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) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for isolation to set.
      Returns:
      This builder for chaining.
    • getIsolation

      public Isolation getIsolation()
       Describes the 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) = OUTPUT_ONLY];
      Specified by:
      getIsolation in interface Project.SettingsOrBuilder
      Returns:
      The isolation.
    • setIsolation

      public Project.Settings.Builder setIsolation(Isolation value)
       Describes the 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) = OUTPUT_ONLY];
      Parameters:
      value - The isolation to set.
      Returns:
      This builder for chaining.
    • clearIsolation

      public Project.Settings.Builder clearIsolation()
       Describes the 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) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasDisplay

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

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

      public Project.Settings.Builder setDisplay(DisplayOptions value)
       Specifies display and reporting settings which apply to this project. Some of these settings can be overridden by
       user account-level preferences.
       
      .buildless.projects.DisplayOptions display = 3 [json_name = "display", (.google.api.field_behavior) = OUTPUT_ONLY];
    • setDisplay

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

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

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

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

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

      public final Project.Settings.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.Builder>
    • mergeUnknownFields

      public final Project.Settings.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.Builder>