Package com.buildless.projects
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Desired initial display and reporting settings which apply to this project.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Desired initial isolation mode for this project; this governs how (or if) read and write operations interact with the project's parent scope.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Desired initial visibility mode for this project; this governs the default access controls which apply to the data held by the project.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDesired initial display and reporting settings which apply to this project.Desired initial display and reporting settings which apply to this project.Desired initial display and reporting settings which apply to this project.Desired initial isolation mode for this project; this governs how (or if) read and write operations interact with the project's parent scope.intDesired initial isolation mode for this project; this governs how (or if) read and write operations interact with the project's parent scope.Desired initial visibility mode for this project; this governs the default access controls which apply to the data held by the project.intDesired initial visibility mode for this project; this governs the default access controls which apply to the data held by the project.booleanDesired initial display and reporting settings which apply to this project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDisplay(DisplayOptions value) Desired initial display and reporting settings which apply to this project.mergeFrom(Project.Settings.Draft other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDisplay(DisplayOptions value) Desired initial display and reporting settings which apply to this project.setDisplay(DisplayOptions.Builder builderForValue) Desired initial display and reporting settings which apply to this project.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.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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.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<Project.Settings.Draft.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<Project.Settings.Draft.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<Project.Settings.Draft.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<Project.Settings.Draft.Builder>
-
setField
public Project.Settings.Draft.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<Project.Settings.Draft.Builder>
-
clearField
public Project.Settings.Draft.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
-
clearOneof
public Project.Settings.Draft.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Project.Settings.Draft.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getVisibilityValuein interfaceProject.Settings.DraftOrBuilder- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
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
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:
getVisibilityin interfaceProject.Settings.DraftOrBuilder- Returns:
- The visibility.
-
setVisibility
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
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:
getIsolationValuein interfaceProject.Settings.DraftOrBuilder- Returns:
- The enum numeric value on the wire for isolation.
-
setIsolationValue
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
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:
getIsolationin interfaceProject.Settings.DraftOrBuilder- Returns:
- The isolation.
-
setIsolation
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
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:
hasDisplayin interfaceProject.Settings.DraftOrBuilder- Returns:
- Whether the display field is set.
-
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:
getDisplayin interfaceProject.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
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
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
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
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
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:
getDisplayOrBuilderin interfaceProject.Settings.DraftOrBuilder
-
setUnknownFields
public final Project.Settings.Draft.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
-
mergeUnknownFields
public final Project.Settings.Draft.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Settings.Draft.Builder>
-