Package com.buildless.service.v1
Class ProjectCreateAdviceResponse.ProjectScope.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
com.buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope.Builder
- All Implemented Interfaces:
ProjectCreateAdviceResponse.ProjectScopeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ProjectCreateAdviceResponse.ProjectScope
public static final class ProjectCreateAdviceResponse.ProjectScope.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
implements ProjectCreateAdviceResponse.ProjectScopeOrBuilder
Specifies project scope status information.Protobuf type
buildless.service.v1.ProjectCreateAdviceResponse.ProjectScope-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Specifies whether to allow the creation of projects in this scope.Specifies the total number of projects which can be created in this scope.Specifies the display name for this scope.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies the icon to use for this scope, if any.Specifies the project scope name, which in this case is a tenant ID.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the reason why project creation is not allowed, as applicable.Specifies whether there is no limit on the number of projects which can be created in this scope.Specifies the number of projects which have been created in this scope.clone()booleangetAllow()Specifies whether to allow the creation of projects in this scope.intSpecifies the total number of projects which can be created in this scope.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies the display name for this scope.com.google.protobuf.ByteStringSpecifies the display name for this scope.getIcon()Specifies the icon to use for this scope, if any.com.google.protobuf.ByteStringSpecifies the icon to use for this scope, if any.getName()Specifies the project scope name, which in this case is a tenant ID.com.google.protobuf.ByteStringSpecifies the project scope name, which in this case is a tenant ID.Specifies the reason why project creation is not allowed, as applicable.com.google.protobuf.ByteStringSpecifies the reason why project creation is not allowed, as applicable.booleanSpecifies whether there is no limit on the number of projects which can be created in this scope.intgetUsed()Specifies the number of projects which have been created in this scope.booleanSpecifies the total number of projects which can be created in this scope.booleanSpecifies whether there is no limit on the number of projects which can be created in this scope.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAllow(boolean value) Specifies whether to allow the creation of projects in this scope.setAvailable(int value) Specifies the total number of projects which can be created in this scope.setDisplayName(String value) Specifies the display name for this scope.setDisplayNameBytes(com.google.protobuf.ByteString value) Specifies the display name for this scope.Specifies the icon to use for this scope, if any.setIconBytes(com.google.protobuf.ByteString value) Specifies the icon to use for this scope, if any.Specifies the project scope name, which in this case is a tenant ID.setNameBytes(com.google.protobuf.ByteString value) Specifies the project scope name, which in this case is a tenant ID.Specifies the reason why project creation is not allowed, as applicable.setReasonBytes(com.google.protobuf.ByteString value) Specifies the reason why project creation is not allowed, as applicable.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUnlimited(boolean value) Specifies whether there is no limit on the number of projects which can be created in this scope.setUsed(int value) Specifies the number of projects which have been created in this scope.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<ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
setField
public ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
clearField
public ProjectCreateAdviceResponse.ProjectScope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
clearOneof
public ProjectCreateAdviceResponse.ProjectScope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
setRepeatedField
public ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
addRepeatedField
public ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
mergeFrom
public ProjectCreateAdviceResponse.ProjectScope.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
mergeFrom
public ProjectCreateAdviceResponse.ProjectScope.Builder mergeFrom(ProjectCreateAdviceResponse.ProjectScope other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
mergeFrom
public ProjectCreateAdviceResponse.ProjectScope.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<ProjectCreateAdviceResponse.ProjectScope.Builder>- Throws:
IOException
-
getAvailabilityCase
- Specified by:
getAvailabilityCasein interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder
-
clearAvailability
-
getName
Specifies the project scope name, which in this case is a tenant ID.
string name = 1 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Specifies the project scope name, which in this case is a tenant ID.
string name = 1 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The bytes for name.
-
setName
Specifies the project scope name, which in this case is a tenant ID.
string name = 1 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Specifies the project scope name, which in this case is a tenant ID.
string name = 1 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public ProjectCreateAdviceResponse.ProjectScope.Builder setNameBytes(com.google.protobuf.ByteString value) Specifies the project scope name, which in this case is a tenant ID.
string name = 1 [json_name = "name", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Specifies the display name for this scope.
string display_name = 2 [json_name = "displayName", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Specifies the display name for this scope.
string display_name = 2 [json_name = "displayName", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Specifies the display name for this scope.
string display_name = 2 [json_name = "displayName", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Specifies the display name for this scope.
string display_name = 2 [json_name = "displayName", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public ProjectCreateAdviceResponse.ProjectScope.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) Specifies the display name for this scope.
string display_name = 2 [json_name = "displayName", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getIcon
Specifies the icon to use for this scope, if any.
string icon = 3 [json_name = "icon", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIconin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The icon.
-
getIconBytes
public com.google.protobuf.ByteString getIconBytes()Specifies the icon to use for this scope, if any.
string icon = 3 [json_name = "icon", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIconBytesin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The bytes for icon.
-
setIcon
Specifies the icon to use for this scope, if any.
string icon = 3 [json_name = "icon", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The icon to set.- Returns:
- This builder for chaining.
-
clearIcon
Specifies the icon to use for this scope, if any.
string icon = 3 [json_name = "icon", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIconBytes
public ProjectCreateAdviceResponse.ProjectScope.Builder setIconBytes(com.google.protobuf.ByteString value) Specifies the icon to use for this scope, if any.
string icon = 3 [json_name = "icon", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for icon to set.- Returns:
- This builder for chaining.
-
getAllow
public boolean getAllow()Specifies whether to allow the creation of projects in this scope.
bool allow = 4 [json_name = "allow", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllowin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The allow.
-
setAllow
Specifies whether to allow the creation of projects in this scope.
bool allow = 4 [json_name = "allow", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The allow to set.- Returns:
- This builder for chaining.
-
clearAllow
Specifies whether to allow the creation of projects in this scope.
bool allow = 4 [json_name = "allow", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getReason
Specifies the reason why project creation is not allowed, as applicable.
string reason = 5 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getReasonin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()Specifies the reason why project creation is not allowed, as applicable.
string reason = 5 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getReasonBytesin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The bytes for reason.
-
setReason
Specifies the reason why project creation is not allowed, as applicable.
string reason = 5 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
Specifies the reason why project creation is not allowed, as applicable.
string reason = 5 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setReasonBytes
public ProjectCreateAdviceResponse.ProjectScope.Builder setReasonBytes(com.google.protobuf.ByteString value) Specifies the reason why project creation is not allowed, as applicable.
string reason = 5 [json_name = "reason", (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
getUsed
public int getUsed()Specifies the number of projects which have been created in this scope.
uint32 used = 7 [json_name = "used", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUsedin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The used.
-
setUsed
Specifies the number of projects which have been created in this scope.
uint32 used = 7 [json_name = "used", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The used to set.- Returns:
- This builder for chaining.
-
clearUsed
Specifies the number of projects which have been created in this scope.
uint32 used = 7 [json_name = "used", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasAvailable
public boolean hasAvailable()Specifies the total number of projects which can be created in this scope.
uint32 available = 8 [json_name = "available", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAvailablein interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- Whether the available field is set.
-
getAvailable
public int getAvailable()Specifies the total number of projects which can be created in this scope.
uint32 available = 8 [json_name = "available", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailablein interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The available.
-
setAvailable
Specifies the total number of projects which can be created in this scope.
uint32 available = 8 [json_name = "available", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The available to set.- Returns:
- This builder for chaining.
-
clearAvailable
Specifies the total number of projects which can be created in this scope.
uint32 available = 8 [json_name = "available", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasUnlimited
public boolean hasUnlimited()Specifies whether there is no limit on the number of projects which can be created in this scope.
bool unlimited = 9 [json_name = "unlimited", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUnlimitedin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- Whether the unlimited field is set.
-
getUnlimited
public boolean getUnlimited()Specifies whether there is no limit on the number of projects which can be created in this scope.
bool unlimited = 9 [json_name = "unlimited", (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnlimitedin interfaceProjectCreateAdviceResponse.ProjectScopeOrBuilder- Returns:
- The unlimited.
-
setUnlimited
Specifies whether there is no limit on the number of projects which can be created in this scope.
bool unlimited = 9 [json_name = "unlimited", (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The unlimited to set.- Returns:
- This builder for chaining.
-
clearUnlimited
Specifies whether there is no limit on the number of projects which can be created in this scope.
bool unlimited = 9 [json_name = "unlimited", (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProjectCreateAdviceResponse.ProjectScope.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
-
mergeUnknownFields
public final ProjectCreateAdviceResponse.ProjectScope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProjectCreateAdviceResponse.ProjectScope.Builder>
-