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
public interface ProjectOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metadata
getCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project.MetadataOrBuilder
getCommonInstanceMetadataOrBuilder()
Metadata key/value pairs available to all instances contained in this project.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.String
getDefaultNetworkTier()
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.ByteString
getDefaultNetworkTierBytes()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.String
getDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.com.google.protobuf.ByteString
getDefaultServiceAccountBytes()
[Output Only] Default service account used by VMs running in this project.String
getDescription()
An optional textual description of the resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional textual description of the resource.String
getEnabledFeatures(int index)
Restricted features enabled for use on this project.com.google.protobuf.ByteString
getEnabledFeaturesBytes(int index)
Restricted features enabled for use on this project.int
getEnabledFeaturesCount()
Restricted features enabled for use on this project.List<String>
getEnabledFeaturesList()
Restricted features enabled for use on this project.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getName()
The project ID.com.google.protobuf.ByteString
getNameBytes()
The project ID.Quota
getQuotas(int index)
[Output Only] Quotas assigned to this project.int
getQuotasCount()
[Output Only] Quotas assigned to this project.List<Quota>
getQuotasList()
[Output Only] Quotas assigned to this project.QuotaOrBuilder
getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this project.List<? extends QuotaOrBuilder>
getQuotasOrBuilderList()
[Output Only] Quotas assigned to this project.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.UsageExportLocation
getUsageExportLocation()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.UsageExportLocationOrBuilder
getUsageExportLocationOrBuilder()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.String
getVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project.com.google.protobuf.ByteString
getVmDnsSettingBytes()
[Output Only] Default internal DNS setting used by VMs running in this project.String
getXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration.com.google.protobuf.ByteString
getXpnProjectStatusBytes()
[Output Only] The role this project has in a shared VPC configuration.boolean
hasCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDefaultNetworkTier()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.boolean
hasDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.boolean
hasDescription()
An optional textual description of the resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
The project ID.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasUsageExportLocation()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.boolean
hasVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project.boolean
hasXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 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
List<String> getEnabledFeaturesList()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Returns:
- A list containing the enabledFeatures.
-
getEnabledFeaturesCount
int getEnabledFeaturesCount()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
String getEnabledFeatures(int index)
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)
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] 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] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[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
List<Quota> getQuotasList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotas
Quota getQuotas(int index)
[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
QuotaOrBuilder getQuotasOrBuilder(int index)
[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()
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:
- Whether the usageExportLocation field is set.
-
getUsageExportLocation
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:
- The usageExportLocation.
-
getUsageExportLocationOrBuilder
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;
-
hasVmDnsSetting
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:
- Whether the vmDnsSetting field is set.
-
getVmDnsSetting
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:
- The vmDnsSetting.
-
getVmDnsSettingBytes
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;
- 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.
-
-