Package com.google.cloud.compute.v1
Class Project.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
- com.google.cloud.compute.v1.Project.Builder
-
- All Implemented Interfaces:
ProjectOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Project
public static final class Project.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder> implements ProjectOrBuilder
Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.
Protobuf typegoogle.cloud.compute.v1.Project
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Project.BuilderaddAllEnabledFeatures(Iterable<String> values)Restricted features enabled for use on this project.Project.BuilderaddAllQuotas(Iterable<? extends Quota> values)[Output Only] Quotas assigned to this project.Project.BuilderaddEnabledFeatures(String value)Restricted features enabled for use on this project.Project.BuilderaddEnabledFeaturesBytes(com.google.protobuf.ByteString value)Restricted features enabled for use on this project.Project.BuilderaddQuotas(int index, Quota value)[Output Only] Quotas assigned to this project.Project.BuilderaddQuotas(int index, Quota.Builder builderForValue)[Output Only] Quotas assigned to this project.Project.BuilderaddQuotas(Quota value)[Output Only] Quotas assigned to this project.Project.BuilderaddQuotas(Quota.Builder builderForValue)[Output Only] Quotas assigned to this project.Quota.BuilderaddQuotasBuilder()[Output Only] Quotas assigned to this project.Quota.BuilderaddQuotasBuilder(int index)[Output Only] Quotas assigned to this project.Project.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Projectbuild()ProjectbuildPartial()Project.Builderclear()Project.BuilderclearCommonInstanceMetadata()Metadata key/value pairs available to all instances contained in this project.Project.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.Project.BuilderclearDefaultNetworkTier()This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.Project.BuilderclearDefaultServiceAccount()[Output Only] Default service account used by VMs running in this project.Project.BuilderclearDescription()An optional textual description of the resource.Project.BuilderclearEnabledFeatures()Restricted features enabled for use on this project.Project.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Project.BuilderclearId()[Output Only] The unique identifier for the resource.Project.BuilderclearKind()[Output Only] Type of the resource.Project.BuilderclearName()The project ID.Project.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Project.BuilderclearQuotas()[Output Only] Quotas assigned to this project.Project.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.Project.BuilderclearUsageExportLocation()The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.BuilderclearVmDnsSetting()[Output Only] Default internal DNS setting used by VMs running in this project.Project.BuilderclearXpnProjectStatus()[Output Only] The role this project has in a shared VPC configuration.Project.Builderclone()MetadatagetCommonInstanceMetadata()Metadata key/value pairs available to all instances contained in this project.Metadata.BuildergetCommonInstanceMetadataBuilder()Metadata key/value pairs available to all instances contained in this project.MetadataOrBuildergetCommonInstanceMetadataOrBuilder()Metadata key/value pairs available to all instances contained in this project.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.ProjectgetDefaultInstanceForType()StringgetDefaultNetworkTier()This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.com.google.protobuf.ByteStringgetDefaultNetworkTierBytes()This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.StringgetDefaultServiceAccount()[Output Only] Default service account used by VMs running in this project.com.google.protobuf.ByteStringgetDefaultServiceAccountBytes()[Output Only] Default service account used by VMs running in this project.StringgetDescription()An optional textual description of the resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional textual description of the resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEnabledFeatures(int index)Restricted features enabled for use on this project.com.google.protobuf.ByteStringgetEnabledFeaturesBytes(int index)Restricted features enabled for use on this project.intgetEnabledFeaturesCount()Restricted features enabled for use on this project.com.google.protobuf.ProtocolStringListgetEnabledFeaturesList()Restricted features enabled for use on this project.longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()The project ID.com.google.protobuf.ByteStringgetNameBytes()The project ID.QuotagetQuotas(int index)[Output Only] Quotas assigned to this project.Quota.BuildergetQuotasBuilder(int index)[Output Only] Quotas assigned to this project.List<Quota.Builder>getQuotasBuilderList()[Output Only] Quotas assigned to this project.intgetQuotasCount()[Output Only] Quotas assigned to this project.List<Quota>getQuotasList()[Output Only] Quotas assigned to this project.QuotaOrBuildergetQuotasOrBuilder(int index)[Output Only] Quotas assigned to this project.List<? extends QuotaOrBuilder>getQuotasOrBuilderList()[Output Only] Quotas assigned to this project.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.UsageExportLocationgetUsageExportLocation()The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.UsageExportLocation.BuildergetUsageExportLocationBuilder()The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.UsageExportLocationOrBuildergetUsageExportLocationOrBuilder()The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.StringgetVmDnsSetting()[Output Only] Default internal DNS setting used by VMs running in this project.com.google.protobuf.ByteStringgetVmDnsSettingBytes()[Output Only] Default internal DNS setting used by VMs running in this project.StringgetXpnProjectStatus()[Output Only] The role this project has in a shared VPC configuration.com.google.protobuf.ByteStringgetXpnProjectStatusBytes()[Output Only] The role this project has in a shared VPC configuration.booleanhasCommonInstanceMetadata()Metadata key/value pairs available to all instances contained in this project.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDefaultNetworkTier()This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.booleanhasDefaultServiceAccount()[Output Only] Default service account used by VMs running in this project.booleanhasDescription()An optional textual description of the resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()The project ID.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasUsageExportLocation()The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.booleanhasVmDnsSetting()[Output Only] Default internal DNS setting used by VMs running in this project.booleanhasXpnProjectStatus()[Output Only] The role this project has in a shared VPC configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Project.BuildermergeCommonInstanceMetadata(Metadata value)Metadata key/value pairs available to all instances contained in this project.Project.BuildermergeFrom(Project other)Project.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Project.BuildermergeFrom(com.google.protobuf.Message other)Project.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Project.BuildermergeUsageExportLocation(UsageExportLocation value)The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.BuilderremoveQuotas(int index)[Output Only] Quotas assigned to this project.Project.BuildersetCommonInstanceMetadata(Metadata value)Metadata key/value pairs available to all instances contained in this project.Project.BuildersetCommonInstanceMetadata(Metadata.Builder builderForValue)Metadata key/value pairs available to all instances contained in this project.Project.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.Project.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.Project.BuildersetDefaultNetworkTier(String value)This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.Project.BuildersetDefaultNetworkTierBytes(com.google.protobuf.ByteString value)This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.Project.BuildersetDefaultServiceAccount(String value)[Output Only] Default service account used by VMs running in this project.Project.BuildersetDefaultServiceAccountBytes(com.google.protobuf.ByteString value)[Output Only] Default service account used by VMs running in this project.Project.BuildersetDescription(String value)An optional textual description of the resource.Project.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional textual description of the resource.Project.BuildersetEnabledFeatures(int index, String value)Restricted features enabled for use on this project.Project.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Project.BuildersetId(long value)[Output Only] The unique identifier for the resource.Project.BuildersetKind(String value)[Output Only] Type of the resource.Project.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.Project.BuildersetName(String value)The project ID.Project.BuildersetNameBytes(com.google.protobuf.ByteString value)The project ID.Project.BuildersetQuotas(int index, Quota value)[Output Only] Quotas assigned to this project.Project.BuildersetQuotas(int index, Quota.Builder builderForValue)[Output Only] Quotas assigned to this project.Project.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Project.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.Project.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.Project.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Project.BuildersetUsageExportLocation(UsageExportLocation value)The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.BuildersetUsageExportLocation(UsageExportLocation.Builder builderForValue)The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.BuildersetVmDnsSetting(String value)[Output Only] Default internal DNS setting used by VMs running in this project.Project.BuildersetVmDnsSettingBytes(com.google.protobuf.ByteString value)[Output Only] Default internal DNS setting used by VMs running in this project.Project.BuildersetXpnProjectStatus(String value)[Output Only] The role this project has in a shared VPC configuration.Project.BuildersetXpnProjectStatusBytes(com.google.protobuf.ByteString value)[Output Only] The role this project has in a shared VPC configuration.-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder>
-
clear
public Project.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.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.Builder>
-
getDefaultInstanceForType
public Project getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Project build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Project buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Project.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.Builder>
-
setField
public Project.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.Builder>
-
clearField
public Project.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clearOneof
public Project.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
setRepeatedField
public Project.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.Builder>
-
addRepeatedField
public Project.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.Builder>
-
mergeFrom
public Project.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(Project other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeFrom
public Project.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.Builder>- Throws:
IOException
-
hasCommonInstanceMetadata
public boolean hasCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;- Specified by:
hasCommonInstanceMetadatain interfaceProjectOrBuilder- Returns:
- Whether the commonInstanceMetadata field is set.
-
getCommonInstanceMetadata
public Metadata getCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;- Specified by:
getCommonInstanceMetadatain interfaceProjectOrBuilder- Returns:
- The commonInstanceMetadata.
-
setCommonInstanceMetadata
public Project.Builder setCommonInstanceMetadata(Metadata value)
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;
-
setCommonInstanceMetadata
public Project.Builder setCommonInstanceMetadata(Metadata.Builder builderForValue)
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;
-
mergeCommonInstanceMetadata
public Project.Builder mergeCommonInstanceMetadata(Metadata value)
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;
-
clearCommonInstanceMetadata
public Project.Builder clearCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;
-
getCommonInstanceMetadataBuilder
public Metadata.Builder getCommonInstanceMetadataBuilder()
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;
-
getCommonInstanceMetadataOrBuilder
public MetadataOrBuilder getCommonInstanceMetadataOrBuilder()
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
optional .google.cloud.compute.v1.Metadata common_instance_metadata = 185794117;- Specified by:
getCommonInstanceMetadataOrBuilderin interfaceProjectOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceProjectOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceProjectOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceProjectOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Project.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Project.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Project.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDefaultNetworkTier
public boolean hasDefaultNetworkTier()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.
optional string default_network_tier = 471753361;- Specified by:
hasDefaultNetworkTierin interfaceProjectOrBuilder- Returns:
- Whether the defaultNetworkTier field is set.
-
getDefaultNetworkTier
public String getDefaultNetworkTier()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.
optional string default_network_tier = 471753361;- Specified by:
getDefaultNetworkTierin interfaceProjectOrBuilder- Returns:
- The defaultNetworkTier.
-
getDefaultNetworkTierBytes
public com.google.protobuf.ByteString getDefaultNetworkTierBytes()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.
optional string default_network_tier = 471753361;- Specified by:
getDefaultNetworkTierBytesin interfaceProjectOrBuilder- Returns:
- The bytes for defaultNetworkTier.
-
setDefaultNetworkTier
public Project.Builder setDefaultNetworkTier(String value)
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.
optional string default_network_tier = 471753361;- Parameters:
value- The defaultNetworkTier to set.- Returns:
- This builder for chaining.
-
clearDefaultNetworkTier
public Project.Builder clearDefaultNetworkTier()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.
optional string default_network_tier = 471753361;- Returns:
- This builder for chaining.
-
setDefaultNetworkTierBytes
public Project.Builder setDefaultNetworkTierBytes(com.google.protobuf.ByteString value)
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.
optional string default_network_tier = 471753361;- Parameters:
value- The bytes for defaultNetworkTier to set.- Returns:
- This builder for chaining.
-
hasDefaultServiceAccount
public boolean hasDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Specified by:
hasDefaultServiceAccountin interfaceProjectOrBuilder- Returns:
- Whether the defaultServiceAccount field is set.
-
getDefaultServiceAccount
public String getDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Specified by:
getDefaultServiceAccountin interfaceProjectOrBuilder- Returns:
- The defaultServiceAccount.
-
getDefaultServiceAccountBytes
public com.google.protobuf.ByteString getDefaultServiceAccountBytes()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Specified by:
getDefaultServiceAccountBytesin interfaceProjectOrBuilder- Returns:
- The bytes for defaultServiceAccount.
-
setDefaultServiceAccount
public Project.Builder setDefaultServiceAccount(String value)
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Parameters:
value- The defaultServiceAccount to set.- Returns:
- This builder for chaining.
-
clearDefaultServiceAccount
public Project.Builder clearDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Returns:
- This builder for chaining.
-
setDefaultServiceAccountBytes
public Project.Builder setDefaultServiceAccountBytes(com.google.protobuf.ByteString value)
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Parameters:
value- The bytes for defaultServiceAccount to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional textual description of the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceProjectOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional textual description of the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceProjectOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional textual description of the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceProjectOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Project.Builder setDescription(String value)
An optional textual description of the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Project.Builder clearDescription()
An optional textual description of the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Project.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional textual description of the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getEnabledFeaturesList
public com.google.protobuf.ProtocolStringList getEnabledFeaturesList()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesListin interfaceProjectOrBuilder- Returns:
- A list containing the enabledFeatures.
-
getEnabledFeaturesCount
public int getEnabledFeaturesCount()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesCountin interfaceProjectOrBuilder- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
public String getEnabledFeatures(int index)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesin interfaceProjectOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enabledFeatures at the given index.
-
getEnabledFeaturesBytes
public com.google.protobuf.ByteString getEnabledFeaturesBytes(int index)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesBytesin interfaceProjectOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enabledFeatures at the given index.
-
setEnabledFeatures
public Project.Builder setEnabledFeatures(int index, String value)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Parameters:
index- The index to set the value at.value- The enabledFeatures to set.- Returns:
- This builder for chaining.
-
addEnabledFeatures
public Project.Builder addEnabledFeatures(String value)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Parameters:
value- The enabledFeatures to add.- Returns:
- This builder for chaining.
-
addAllEnabledFeatures
public Project.Builder addAllEnabledFeatures(Iterable<String> values)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Parameters:
values- The enabledFeatures to add.- Returns:
- This builder for chaining.
-
clearEnabledFeatures
public Project.Builder clearEnabledFeatures()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Returns:
- This builder for chaining.
-
addEnabledFeaturesBytes
public Project.Builder addEnabledFeaturesBytes(com.google.protobuf.ByteString value)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Parameters:
value- The bytes of the enabledFeatures to add.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceProjectOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.
optional uint64 id = 3355;- Specified by:
getIdin interfaceProjectOrBuilder- Returns:
- The id.
-
setId
public Project.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Project.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Specified by:
hasKindin interfaceProjectOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Specified by:
getKindin interfaceProjectOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceProjectOrBuilder- Returns:
- The bytes for kind.
-
setKind
public Project.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Project.Builder clearKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public Project.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Specified by:
hasNamein interfaceProjectOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Specified by:
getNamein interfaceProjectOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceProjectOrBuilder- Returns:
- The bytes for name.
-
setName
public Project.Builder setName(String value)
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Project.Builder clearName()
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public Project.Builder setNameBytes(com.google.protobuf.ByteString value)
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getQuotasList
public List<Quota> getQuotasList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasListin interfaceProjectOrBuilder
-
getQuotasCount
public int getQuotasCount()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasCountin interfaceProjectOrBuilder
-
getQuotas
public Quota getQuotas(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasin interfaceProjectOrBuilder
-
setQuotas
public Project.Builder setQuotas(int index, Quota value)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
setQuotas
public Project.Builder setQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(Quota value)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(int index, Quota value)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addAllQuotas
public Project.Builder addAllQuotas(Iterable<? extends Quota> values)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
clearQuotas
public Project.Builder clearQuotas()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
removeQuotas
public Project.Builder removeQuotas(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasBuilder
public Quota.Builder getQuotasBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasOrBuilder
public QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasOrBuilderin interfaceProjectOrBuilder
-
getQuotasOrBuilderList
public List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasOrBuilderListin interfaceProjectOrBuilder
-
addQuotasBuilder
public Quota.Builder addQuotasBuilder()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotasBuilder
public Quota.Builder addQuotasBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasBuilderList
public List<Quota.Builder> getQuotasBuilderList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceProjectOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceProjectOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceProjectOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public Project.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Project.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Project.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasUsageExportLocation
public boolean hasUsageExportLocation()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;- Specified by:
hasUsageExportLocationin interfaceProjectOrBuilder- Returns:
- Whether the usageExportLocation field is set.
-
getUsageExportLocation
public UsageExportLocation getUsageExportLocation()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;- Specified by:
getUsageExportLocationin interfaceProjectOrBuilder- Returns:
- The usageExportLocation.
-
setUsageExportLocation
public Project.Builder setUsageExportLocation(UsageExportLocation value)
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
-
setUsageExportLocation
public Project.Builder setUsageExportLocation(UsageExportLocation.Builder builderForValue)
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
-
mergeUsageExportLocation
public Project.Builder mergeUsageExportLocation(UsageExportLocation value)
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
-
clearUsageExportLocation
public Project.Builder clearUsageExportLocation()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
-
getUsageExportLocationBuilder
public UsageExportLocation.Builder getUsageExportLocationBuilder()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;
-
getUsageExportLocationOrBuilder
public UsageExportLocationOrBuilder getUsageExportLocationOrBuilder()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
optional .google.cloud.compute.v1.UsageExportLocation usage_export_location = 347543874;- Specified by:
getUsageExportLocationOrBuilderin interfaceProjectOrBuilder
-
hasVmDnsSetting
public boolean hasVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
optional string vm_dns_setting = 58856370;- Specified by:
hasVmDnsSettingin interfaceProjectOrBuilder- Returns:
- Whether the vmDnsSetting field is set.
-
getVmDnsSetting
public String getVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
optional string vm_dns_setting = 58856370;- Specified by:
getVmDnsSettingin interfaceProjectOrBuilder- Returns:
- The vmDnsSetting.
-
getVmDnsSettingBytes
public com.google.protobuf.ByteString getVmDnsSettingBytes()
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
optional string vm_dns_setting = 58856370;- Specified by:
getVmDnsSettingBytesin interfaceProjectOrBuilder- Returns:
- The bytes for vmDnsSetting.
-
setVmDnsSetting
public Project.Builder setVmDnsSetting(String value)
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
optional string vm_dns_setting = 58856370;- Parameters:
value- The vmDnsSetting to set.- Returns:
- This builder for chaining.
-
clearVmDnsSetting
public Project.Builder clearVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
optional string vm_dns_setting = 58856370;- Returns:
- This builder for chaining.
-
setVmDnsSettingBytes
public Project.Builder setVmDnsSettingBytes(com.google.protobuf.ByteString value)
[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.
optional string vm_dns_setting = 58856370;- Parameters:
value- The bytes for vmDnsSetting to set.- Returns:
- This builder for chaining.
-
hasXpnProjectStatus
public boolean hasXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
optional string xpn_project_status = 228419265;- Specified by:
hasXpnProjectStatusin interfaceProjectOrBuilder- Returns:
- Whether the xpnProjectStatus field is set.
-
getXpnProjectStatus
public String getXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
optional string xpn_project_status = 228419265;- Specified by:
getXpnProjectStatusin interfaceProjectOrBuilder- Returns:
- The xpnProjectStatus.
-
getXpnProjectStatusBytes
public com.google.protobuf.ByteString getXpnProjectStatusBytes()
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
optional string xpn_project_status = 228419265;- Specified by:
getXpnProjectStatusBytesin interfaceProjectOrBuilder- Returns:
- The bytes for xpnProjectStatus.
-
setXpnProjectStatus
public Project.Builder setXpnProjectStatus(String value)
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
optional string xpn_project_status = 228419265;- Parameters:
value- The xpnProjectStatus to set.- Returns:
- This builder for chaining.
-
clearXpnProjectStatus
public Project.Builder clearXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
optional string xpn_project_status = 228419265;- Returns:
- This builder for chaining.
-
setXpnProjectStatusBytes
public Project.Builder setXpnProjectStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.
optional string xpn_project_status = 228419265;- Parameters:
value- The bytes for xpnProjectStatus to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Project.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeUnknownFields
public final Project.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
-