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.GeneratedMessage.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.GeneratedMessage.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 type
google.cloud.compute.v1.Project-
Method Summary
Modifier and TypeMethodDescriptionaddAllEnabledFeatures(Iterable<String> values) An optional list of restricted features enabled for use on this project.addAllQuotas(Iterable<? extends Quota> values) [Output Only] Quotas assigned to this project.addEnabledFeatures(String value) An optional list of restricted features enabled for use on this project.addEnabledFeaturesBytes(com.google.protobuf.ByteString value) An optional list of restricted features enabled for use on this project.[Output Only] Quotas assigned to this project.addQuotas(int index, Quota.Builder builderForValue) [Output Only] Quotas assigned to this project.[Output Only] Quotas assigned to this project.addQuotas(Quota.Builder builderForValue) [Output Only] Quotas assigned to this project.[Output Only] Quotas assigned to this project.addQuotasBuilder(int index) [Output Only] Quotas assigned to this project.build()clear()Output only.Metadata key/value pairs available to all instances contained in this project.[Output Only] Creation timestamp inRFC3339 text format.This signifies the default network tier used for configuring resources of the project and can only take the following values:PREMIUM, STANDARD.[Output Only] Default service account used by VMs running in this project.An optional textual description of the resource.An optional list of restricted features enabled for use on this project.clearId()[Output Only] The unique identifier for the resource.Output only.The project ID.[Output Only] Quotas assigned to this project.[Output Only] Server-defined URL for the resource.An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Output only.[Output Only] The role this project has in a shared VPC configuration.Output only.com.google.protobuf.ByteStringOutput only.Metadata key/value pairs available to all instances contained in this project.Metadata key/value pairs available to all instances contained in this project.Metadata key/value pairs available to all instances contained in this project.[Output Only] Creation timestamp inRFC3339 text format.com.google.protobuf.ByteString[Output Only] Creation timestamp inRFC3339 text format.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.ByteStringThis signifies the default network tier used for configuring resources of the project and can only take the following values:PREMIUM, STANDARD.[Output Only] Default service account used by VMs running in this project.com.google.protobuf.ByteString[Output Only] Default service account used by VMs running in this project.An optional textual description of the resource.com.google.protobuf.ByteStringAn optional textual description of the resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnabledFeatures(int index) An optional list of restricted features enabled for use on this project.com.google.protobuf.ByteStringgetEnabledFeaturesBytes(int index) An optional list of restricted features enabled for use on this project.intAn optional list of restricted features enabled for use on this project.com.google.protobuf.ProtocolStringListAn optional list of restricted features enabled for use on this project.longgetId()[Output Only] The unique identifier for the resource.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()The project ID.com.google.protobuf.ByteStringThe project ID.getQuotas(int index) [Output Only] Quotas assigned to this project.getQuotasBuilder(int index) [Output Only] Quotas assigned to this project.[Output Only] Quotas assigned to this project.int[Output Only] Quotas assigned to this project.[Output Only] Quotas assigned to this project.getQuotasOrBuilder(int index) [Output Only] Quotas assigned to this project.List<? extends QuotaOrBuilder>[Output Only] Quotas assigned to this project.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Output only.com.google.protobuf.ByteStringOutput only.[Output Only] The role this project has in a shared VPC configuration.com.google.protobuf.ByteString[Output Only] The role this project has in a shared VPC configuration.booleanOutput only.booleanMetadata key/value pairs available to all instances contained in this project.boolean[Output Only] Creation timestamp inRFC3339 text format.booleanThis signifies the default network tier used for configuring resources of the project and can only take the following values:PREMIUM, STANDARD.boolean[Output Only] Default service account used by VMs running in this project.booleanAn optional textual description of the resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()Output only.booleanhasName()The project ID.boolean[Output Only] Server-defined URL for the resource.booleanAn optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.booleanOutput only.boolean[Output Only] The role this project has in a shared VPC configuration.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanMetadata key/value pairs available to all instances contained in this project.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.removeQuotas(int index) [Output Only] Quotas assigned to this project.setCloudArmorTier(String value) Output only.setCloudArmorTierBytes(com.google.protobuf.ByteString value) Output only.Metadata key/value pairs available to all instances contained in this project.setCommonInstanceMetadata(Metadata.Builder builderForValue) Metadata key/value pairs available to all instances contained in this project.setCreationTimestamp(String value) [Output Only] Creation timestamp inRFC3339 text format.setCreationTimestampBytes(com.google.protobuf.ByteString value) [Output Only] Creation timestamp inRFC3339 text format.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.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.setDefaultServiceAccount(String value) [Output Only] Default service account used by VMs running in this project.setDefaultServiceAccountBytes(com.google.protobuf.ByteString value) [Output Only] Default service account used by VMs running in this project.setDescription(String value) An optional textual description of the resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional textual description of the resource.setEnabledFeatures(int index, String value) An optional list of restricted features enabled for use on this project.setId(long value) [Output Only] The unique identifier for the resource.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.The project ID.setNameBytes(com.google.protobuf.ByteString value) The project ID.[Output Only] Quotas assigned to this project.setQuotas(int index, Quota.Builder builderForValue) [Output Only] Quotas assigned to this project.setSelfLink(String value) [Output Only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.setUsageExportLocation(UsageExportLocation.Builder builderForValue) An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.setVmDnsSetting(String value) Output only.setVmDnsSettingBytes(com.google.protobuf.ByteString value) Output only.setXpnProjectStatus(String value) [Output Only] The role this project has in a shared VPC configuration.setXpnProjectStatusBytes(com.google.protobuf.ByteString value) [Output Only] The role this project has in a shared VPC configuration.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Project.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Project.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Project.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
-
hasCloudArmorTier
public boolean hasCloudArmorTier()Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to beCA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
optional string cloud_armor_tier = 4427052;- Specified by:
hasCloudArmorTierin interfaceProjectOrBuilder- Returns:
- Whether the cloudArmorTier field is set.
-
getCloudArmorTier
Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to beCA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
optional string cloud_armor_tier = 4427052;- Specified by:
getCloudArmorTierin interfaceProjectOrBuilder- Returns:
- The cloudArmorTier.
-
getCloudArmorTierBytes
public com.google.protobuf.ByteString getCloudArmorTierBytes()Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to beCA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
optional string cloud_armor_tier = 4427052;- Specified by:
getCloudArmorTierBytesin interfaceProjectOrBuilder- Returns:
- The bytes for cloudArmorTier.
-
setCloudArmorTier
Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to beCA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
optional string cloud_armor_tier = 4427052;- Parameters:
value- The cloudArmorTier to set.- Returns:
- This builder for chaining.
-
clearCloudArmorTier
Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to beCA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
optional string cloud_armor_tier = 4427052;- Returns:
- This builder for chaining.
-
setCloudArmorTierBytes
Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD,CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to beCA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
optional string cloud_armor_tier = 4427052;- Parameters:
value- The bytes for cloudArmorTier to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
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 inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceProjectOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
[Output Only] Creation timestamp inRFC3339 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 inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceProjectOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
[Output Only] Creation timestamp inRFC3339 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
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
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
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
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
[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
[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
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Returns:
- This builder for chaining.
-
setDefaultServiceAccountBytes
[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
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
An optional textual description of the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional textual description of the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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()An optional list of 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()An optional list of restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Specified by:
getEnabledFeaturesCountin interfaceProjectOrBuilder- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
An optional list of 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) An optional list of 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
An optional list of 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
An optional list of 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
An optional list of 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
An optional list of restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Returns:
- This builder for chaining.
-
addEnabledFeaturesBytes
An optional list of 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
[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
[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. [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
Output only. [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. [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
Output only. [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
Output only. [Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [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
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
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
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
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
[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
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasin interfaceProjectOrBuilder
-
setQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
setQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
addQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
addQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
addQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
addQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
addAllQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
clearQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
removeQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
getQuotasBuilder
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
getQuotasOrBuilder
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasOrBuilderin interfaceProjectOrBuilder
-
getQuotasOrBuilderList
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;- Specified by:
getQuotasOrBuilderListin interfaceProjectOrBuilder
-
addQuotasBuilder
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
addQuotasBuilder
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
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
[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
[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
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[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()An optional 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
An optional 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
An optional 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
An optional 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
An optional 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
An optional 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
An optional 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
An optional 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. [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
Output only. [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. [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
Output only. [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
Output only. [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
Output only. [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
[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
[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
[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
[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.
-