Package com.google.cloud.compute.v1
Interface ProjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Project,Project.Builder
@Generated
public interface ProjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput 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.[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.getEnabledFeatures(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.An 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.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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCloudArmorTier
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;- Returns:
- Whether the cloudArmorTier field is set.
-
getCloudArmorTier
String 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;- Returns:
- The cloudArmorTier.
-
getCloudArmorTierBytes
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;- Returns:
- The bytes for cloudArmorTier.
-
hasCommonInstanceMetadata
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;- Returns:
- Whether the commonInstanceMetadata field is set.
-
getCommonInstanceMetadata
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;- Returns:
- The commonInstanceMetadata.
-
getCommonInstanceMetadataOrBuilder
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; -
hasCreationTimestamp
boolean hasCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDefaultNetworkTier
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;- Returns:
- Whether the defaultNetworkTier field is set.
-
getDefaultNetworkTier
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;- Returns:
- The defaultNetworkTier.
-
getDefaultNetworkTierBytes
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;- Returns:
- The bytes for defaultNetworkTier.
-
hasDefaultServiceAccount
boolean hasDefaultServiceAccount()[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Returns:
- Whether the defaultServiceAccount field is set.
-
getDefaultServiceAccount
String getDefaultServiceAccount()[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Returns:
- The defaultServiceAccount.
-
getDefaultServiceAccountBytes
com.google.protobuf.ByteString getDefaultServiceAccountBytes()[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;- Returns:
- The bytes for defaultServiceAccount.
-
hasDescription
boolean hasDescription()An optional textual description of the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional textual description of the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional textual description of the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
getEnabledFeaturesList
An optional list of restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Returns:
- A list containing the enabledFeatures.
-
getEnabledFeaturesCount
int getEnabledFeaturesCount()An optional list of restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
An optional list of restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Parameters:
index- The index of the element to return.- Returns:
- The enabledFeatures at the given index.
-
getEnabledFeaturesBytes
com.google.protobuf.ByteString getEnabledFeaturesBytes(int index) An optional list of restricted features enabled for use on this project.
repeated string enabled_features = 469017467;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enabledFeatures at the given index.
-
hasId
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;- Returns:
- Whether the id field is set.
-
getId
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;- Returns:
- The id.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getQuotasList
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
getQuotas
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
getQuotasCount
int getQuotasCount()[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947; -
getQuotasOrBuilderList
List<? extends QuotaOrBuilder> getQuotasOrBuilderList()[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; -
hasSelfLink
boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasUsageExportLocation
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;- Returns:
- Whether the usageExportLocation field is set.
-
getUsageExportLocation
UsageExportLocation 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;- Returns:
- The usageExportLocation.
-
getUsageExportLocationOrBuilder
UsageExportLocationOrBuilder 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; -
hasVmDnsSetting
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;- Returns:
- Whether the vmDnsSetting field is set.
-
getVmDnsSetting
String 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;- Returns:
- The vmDnsSetting.
-
getVmDnsSettingBytes
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;- Returns:
- The bytes for vmDnsSetting.
-
hasXpnProjectStatus
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;- Returns:
- Whether the xpnProjectStatus field is set.
-
getXpnProjectStatus
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;- Returns:
- The xpnProjectStatus.
-
getXpnProjectStatusBytes
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;- Returns:
- The bytes for xpnProjectStatus.
-