- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public interface ProjectOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCommonInstanceMetadata()
public abstract 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 | |
---|---|
Type | Description |
Metadata | The commonInstanceMetadata. |
getCommonInstanceMetadataOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
MetadataOrBuilder |
getCreationTimestamp()
public abstract String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public abstract ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for creationTimestamp. |
getDefaultNetworkTier()
public abstract 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 | |
---|---|
Type | Description |
String | The defaultNetworkTier. |
getDefaultNetworkTierBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for defaultNetworkTier. |
getDefaultServiceAccount()
public abstract String getDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;
Returns | |
---|---|
Type | Description |
String | The defaultServiceAccount. |
getDefaultServiceAccountBytes()
public abstract ByteString getDefaultServiceAccountBytes()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for defaultServiceAccount. |
getDescription()
public abstract String getDescription()
An optional textual description of the resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
An optional textual description of the resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getEnabledFeatures(int index)
public abstract String getEnabledFeatures(int index)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The enabledFeatures at the given index. |
getEnabledFeaturesBytes(int index)
public abstract ByteString getEnabledFeaturesBytes(int index)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the enabledFeatures at the given index. |
getEnabledFeaturesCount()
public abstract int getEnabledFeaturesCount()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
Returns | |
---|---|
Type | Description |
int | The count of enabledFeatures. |
getEnabledFeaturesList()
public abstract List<String> getEnabledFeaturesList()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the enabledFeatures. |
getId()
public abstract 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 | |
---|---|
Type | Description |
long | The id. |
getKind()
public abstract String getKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
String | The kind. |
getKindBytes()
public abstract ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kind. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getQuotas(int index)
public abstract Quota getQuotas(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Quota |
getQuotasCount()
public abstract int getQuotasCount()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Returns | |
---|---|
Type | Description |
int |
getQuotasList()
public abstract List<Quota> getQuotasList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Returns | |
---|---|
Type | Description |
List<Quota> |
getQuotasOrBuilder(int index)
public abstract QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
QuotaOrBuilder |
getQuotasOrBuilderList()
public abstract List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.compute.v1.QuotaOrBuilder> |
getSelfLink()
public abstract String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public abstract ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for selfLink. |
getUsageExportLocation()
public abstract 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;
Returns | |
---|---|
Type | Description |
UsageExportLocation | The usageExportLocation. |
getUsageExportLocationOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
UsageExportLocationOrBuilder |
getVmDnsSetting()
public abstract 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;
Returns | |
---|---|
Type | Description |
String | The vmDnsSetting. |
getVmDnsSettingBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for vmDnsSetting. |
getXpnProjectStatus()
public abstract 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 | |
---|---|
Type | Description |
String | The xpnProjectStatus. |
getXpnProjectStatusBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for xpnProjectStatus. |
hasCommonInstanceMetadata()
public abstract 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 | |
---|---|
Type | Description |
boolean | Whether the commonInstanceMetadata field is set. |
hasCreationTimestamp()
public abstract boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDefaultNetworkTier()
public abstract 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 | |
---|---|
Type | Description |
boolean | Whether the defaultNetworkTier field is set. |
hasDefaultServiceAccount()
public abstract boolean hasDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;
Returns | |
---|---|
Type | Description |
boolean | Whether the defaultServiceAccount field is set. |
hasDescription()
public abstract boolean hasDescription()
An optional textual description of the resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
boolean | Whether the description field is set. |
hasId()
public abstract 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 | |
---|---|
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public abstract boolean hasKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
boolean | Whether the kind field is set. |
hasName()
public abstract 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 | |
---|---|
Type | Description |
boolean | Whether the name field is set. |
hasSelfLink()
public abstract boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
boolean | Whether the selfLink field is set. |
hasUsageExportLocation()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the usageExportLocation field is set. |
hasVmDnsSetting()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the vmDnsSetting field is set. |
hasXpnProjectStatus()
public abstract 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 | |
---|---|
Type | Description |
boolean | Whether the xpnProjectStatus field is set. |