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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.cloud.compute.v1.Project
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Project.Builder
addAllEnabledFeatures(Iterable<String> values)
Restricted features enabled for use on this project.Project.Builder
addAllQuotas(Iterable<? extends Quota> values)
[Output Only] Quotas assigned to this project.Project.Builder
addEnabledFeatures(String value)
Restricted features enabled for use on this project.Project.Builder
addEnabledFeaturesBytes(com.google.protobuf.ByteString value)
Restricted features enabled for use on this project.Project.Builder
addQuotas(int index, Quota value)
[Output Only] Quotas assigned to this project.Project.Builder
addQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.Project.Builder
addQuotas(Quota value)
[Output Only] Quotas assigned to this project.Project.Builder
addQuotas(Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.Quota.Builder
addQuotasBuilder()
[Output Only] Quotas assigned to this project.Quota.Builder
addQuotasBuilder(int index)
[Output Only] Quotas assigned to this project.Project.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Project
build()
Project
buildPartial()
Project.Builder
clear()
Project.Builder
clearCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project.Project.Builder
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.Project.Builder
clearDefaultNetworkTier()
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD.Project.Builder
clearDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.Project.Builder
clearDescription()
An optional textual description of the resource.Project.Builder
clearEnabledFeatures()
Restricted features enabled for use on this project.Project.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Project.Builder
clearId()
[Output Only] The unique identifier for the resource.Project.Builder
clearKind()
[Output Only] Type of the resource.Project.Builder
clearName()
The project ID.Project.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Project.Builder
clearQuotas()
[Output Only] Quotas assigned to this project.Project.Builder
clearSelfLink()
[Output Only] Server-defined URL for the resource.Project.Builder
clearUsageExportLocation()
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.Builder
clearVmDnsSetting()
[Output Only] Default internal DNS setting used by VMs running in this project.Project.Builder
clearXpnProjectStatus()
[Output Only] The role this project has in a shared VPC configuration.Project.Builder
clone()
Metadata
getCommonInstanceMetadata()
Metadata key/value pairs available to all instances contained in this project.Metadata.Builder
getCommonInstanceMetadataBuilder()
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.Project
getDefaultInstanceForType()
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.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.com.google.protobuf.ProtocolStringList
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.Quota.Builder
getQuotasBuilder(int index)
[Output Only] Quotas assigned to this project.List<Quota.Builder>
getQuotasBuilderList()
[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.UsageExportLocation.Builder
getUsageExportLocationBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Project.Builder
mergeCommonInstanceMetadata(Metadata value)
Metadata key/value pairs available to all instances contained in this project.Project.Builder
mergeFrom(Project other)
Project.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Project.Builder
mergeFrom(com.google.protobuf.Message other)
Project.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Project.Builder
mergeUsageExportLocation(UsageExportLocation value)
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.Builder
removeQuotas(int index)
[Output Only] Quotas assigned to this project.Project.Builder
setCommonInstanceMetadata(Metadata value)
Metadata key/value pairs available to all instances contained in this project.Project.Builder
setCommonInstanceMetadata(Metadata.Builder builderForValue)
Metadata key/value pairs available to all instances contained in this project.Project.Builder
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.Project.Builder
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.Project.Builder
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.Project.Builder
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.Project.Builder
setDefaultServiceAccount(String value)
[Output Only] Default service account used by VMs running in this project.Project.Builder
setDefaultServiceAccountBytes(com.google.protobuf.ByteString value)
[Output Only] Default service account used by VMs running in this project.Project.Builder
setDescription(String value)
An optional textual description of the resource.Project.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional textual description of the resource.Project.Builder
setEnabledFeatures(int index, String value)
Restricted features enabled for use on this project.Project.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Project.Builder
setId(long value)
[Output Only] The unique identifier for the resource.Project.Builder
setKind(String value)
[Output Only] Type of the resource.Project.Builder
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.Project.Builder
setName(String value)
The project ID.Project.Builder
setNameBytes(com.google.protobuf.ByteString value)
The project ID.Project.Builder
setQuotas(int index, Quota value)
[Output Only] Quotas assigned to this project.Project.Builder
setQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.Project.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Project.Builder
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.Project.Builder
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.Project.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Project.Builder
setUsageExportLocation(UsageExportLocation value)
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.Builder
setUsageExportLocation(UsageExportLocation.Builder builderForValue)
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.Project.Builder
setVmDnsSetting(String value)
[Output Only] Default internal DNS setting used by VMs running in this project.Project.Builder
setVmDnsSettingBytes(com.google.protobuf.ByteString value)
[Output Only] Default internal DNS setting used by VMs running in this project.Project.Builder
setXpnProjectStatus(String value)
[Output Only] The role this project has in a shared VPC configuration.Project.Builder
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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clear
public Project.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
getDefaultInstanceForType
public Project getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Project build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Project buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Project.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
setField
public Project.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clearField
public Project.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clearOneof
public Project.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
setRepeatedField
public Project.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
addRepeatedField
public Project.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(Project other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Project.Builder>
- Throws:
IOException
-
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:
hasCommonInstanceMetadata
in interfaceProjectOrBuilder
- Returns:
- Whether the commonInstanceMetadata field is set.
-
getCommonInstanceMetadata
public 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;
- Specified by:
getCommonInstanceMetadata
in interfaceProjectOrBuilder
- Returns:
- The commonInstanceMetadata.
-
setCommonInstanceMetadata
public Project.Builder setCommonInstanceMetadata(Metadata value)
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
public Project.Builder setCommonInstanceMetadata(Metadata.Builder builderForValue)
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
public Project.Builder mergeCommonInstanceMetadata(Metadata value)
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
public Project.Builder 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
public Metadata.Builder 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
public 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;
- Specified by:
getCommonInstanceMetadataOrBuilder
in interfaceProjectOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in interfaceProjectOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestamp
in interfaceProjectOrBuilder
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestampBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Project.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Parameters:
value
- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Project.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Project.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 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:
hasDefaultNetworkTier
in interfaceProjectOrBuilder
- Returns:
- Whether the defaultNetworkTier field is set.
-
getDefaultNetworkTier
public 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;
- Specified by:
getDefaultNetworkTier
in 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:
getDefaultNetworkTierBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for defaultNetworkTier.
-
setDefaultNetworkTier
public Project.Builder 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. 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
public Project.Builder 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
public Project.Builder 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. 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:
hasDefaultServiceAccount
in interfaceProjectOrBuilder
- Returns:
- Whether the defaultServiceAccount field is set.
-
getDefaultServiceAccount
public String getDefaultServiceAccount()
[Output Only] Default service account used by VMs running in this project.
optional string default_service_account = 298712229;
- Specified by:
getDefaultServiceAccount
in 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:
getDefaultServiceAccountBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for defaultServiceAccount.
-
setDefaultServiceAccount
public Project.Builder setDefaultServiceAccount(String value)
[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
public Project.Builder 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
public Project.Builder setDefaultServiceAccountBytes(com.google.protobuf.ByteString value)
[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:
hasDescription
in interfaceProjectOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional textual description of the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceProjectOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional textual description of the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Project.Builder setDescription(String value)
An optional textual description of the resource.
optional string description = 422937596;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Project.Builder clearDescription()
An optional textual description of the resource.
optional string description = 422937596;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Project.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Specified by:
getEnabledFeaturesList
in interfaceProjectOrBuilder
- Returns:
- A list containing the enabledFeatures.
-
getEnabledFeaturesCount
public int getEnabledFeaturesCount()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Specified by:
getEnabledFeaturesCount
in interfaceProjectOrBuilder
- Returns:
- The count of enabledFeatures.
-
getEnabledFeatures
public String getEnabledFeatures(int index)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Specified by:
getEnabledFeatures
in 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)
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Specified by:
getEnabledFeaturesBytes
in interfaceProjectOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the enabledFeatures at the given index.
-
setEnabledFeatures
public Project.Builder setEnabledFeatures(int index, String value)
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
public Project.Builder addEnabledFeatures(String value)
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
public Project.Builder addAllEnabledFeatures(Iterable<String> values)
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
public Project.Builder clearEnabledFeatures()
Restricted features enabled for use on this project.
repeated string enabled_features = 469017467;
- Returns:
- This builder for chaining.
-
addEnabledFeaturesBytes
public Project.Builder addEnabledFeaturesBytes(com.google.protobuf.ByteString value)
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:
hasId
in 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:
getId
in interfaceProjectOrBuilder
- Returns:
- The id.
-
setId
public Project.Builder setId(long value)
[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
public Project.Builder 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] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceProjectOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceProjectOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for kind.
-
setKind
public Project.Builder setKind(String value)
[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
public Project.Builder clearKind()
[Output Only] Type of the resource. Always compute#project for projects.
optional string kind = 3292052;
- Returns:
- This builder for chaining.
-
setKindBytes
public Project.Builder setKindBytes(com.google.protobuf.ByteString value)
[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:
hasName
in interfaceProjectOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String 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:
getName
in 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:
getNameBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for name.
-
setName
public Project.Builder setName(String value)
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
public Project.Builder 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
public Project.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public List<Quota> getQuotasList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasList
in interfaceProjectOrBuilder
-
getQuotasCount
public int getQuotasCount()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasCount
in interfaceProjectOrBuilder
-
getQuotas
public Quota getQuotas(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotas
in interfaceProjectOrBuilder
-
setQuotas
public Project.Builder setQuotas(int index, Quota value)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
setQuotas
public Project.Builder setQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(Quota value)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(int index, Quota value)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotas
public Project.Builder addQuotas(int index, Quota.Builder builderForValue)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addAllQuotas
public Project.Builder addAllQuotas(Iterable<? extends Quota> values)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
clearQuotas
public Project.Builder clearQuotas()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
removeQuotas
public Project.Builder removeQuotas(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasBuilder
public Quota.Builder getQuotasBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasOrBuilder
public QuotaOrBuilder getQuotasOrBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasOrBuilder
in interfaceProjectOrBuilder
-
getQuotasOrBuilderList
public List<? extends QuotaOrBuilder> getQuotasOrBuilderList()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
- Specified by:
getQuotasOrBuilderList
in interfaceProjectOrBuilder
-
addQuotasBuilder
public Quota.Builder addQuotasBuilder()
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
addQuotasBuilder
public Quota.Builder addQuotasBuilder(int index)
[Output Only] Quotas assigned to this project.
repeated .google.cloud.compute.v1.Quota quotas = 125341947;
-
getQuotasBuilderList
public List<Quota.Builder> 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:
hasSelfLink
in interfaceProjectOrBuilder
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLink
in 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:
getSelfLinkBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for selfLink.
-
setSelfLink
public Project.Builder setSelfLink(String value)
[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
public Project.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Project.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[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()
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;
- Specified by:
hasUsageExportLocation
in interfaceProjectOrBuilder
- Returns:
- Whether the usageExportLocation field is set.
-
getUsageExportLocation
public 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;
- Specified by:
getUsageExportLocation
in interfaceProjectOrBuilder
- Returns:
- The usageExportLocation.
-
setUsageExportLocation
public Project.Builder setUsageExportLocation(UsageExportLocation value)
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;
-
setUsageExportLocation
public Project.Builder setUsageExportLocation(UsageExportLocation.Builder builderForValue)
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;
-
mergeUsageExportLocation
public Project.Builder mergeUsageExportLocation(UsageExportLocation value)
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;
-
clearUsageExportLocation
public Project.Builder clearUsageExportLocation()
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;
-
getUsageExportLocationBuilder
public UsageExportLocation.Builder getUsageExportLocationBuilder()
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;
-
getUsageExportLocationOrBuilder
public 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;
- Specified by:
getUsageExportLocationOrBuilder
in interfaceProjectOrBuilder
-
hasVmDnsSetting
public 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;
- Specified by:
hasVmDnsSetting
in interfaceProjectOrBuilder
- Returns:
- Whether the vmDnsSetting field is set.
-
getVmDnsSetting
public 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;
- Specified by:
getVmDnsSetting
in interfaceProjectOrBuilder
- Returns:
- The vmDnsSetting.
-
getVmDnsSettingBytes
public 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;
- Specified by:
getVmDnsSettingBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for vmDnsSetting.
-
setVmDnsSetting
public Project.Builder setVmDnsSetting(String value)
[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
public Project.Builder clearVmDnsSetting()
[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
public Project.Builder setVmDnsSettingBytes(com.google.protobuf.ByteString value)
[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:
hasXpnProjectStatus
in interfaceProjectOrBuilder
- Returns:
- Whether the xpnProjectStatus field is set.
-
getXpnProjectStatus
public 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;
- Specified by:
getXpnProjectStatus
in 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:
getXpnProjectStatusBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for xpnProjectStatus.
-
setXpnProjectStatus
public Project.Builder setXpnProjectStatus(String value)
[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
public Project.Builder 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
public Project.Builder setXpnProjectStatusBytes(com.google.protobuf.ByteString value)
[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.
-
setUnknownFields
public final Project.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeUnknownFields
public final Project.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
-