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 MetadatagetCommonInstanceMetadata()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.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.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.List<String>getEnabledFeaturesList()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.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.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.-
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.
-
-