Class 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 type google.cloud.compute.v1.Project
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • clear

        public Project.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • getDefaultInstanceForType

        public Project getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Project build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Project buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Project.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • setField

        public Project.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • clearField

        public Project.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • clearOneof

        public Project.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • addRepeatedField

        public Project.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • mergeFrom

        public Project.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
      • hasCreationTimestamp

        public boolean hasCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Specified by:
        hasCreationTimestamp in interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
      • getQuotasCount

        public int getQuotasCount()
         [Output Only] Quotas assigned to this project.
         
        repeated .google.cloud.compute.v1.Quota quotas = 125341947;
        Specified by:
        getQuotasCount in interface ProjectOrBuilder
      • 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 interface ProjectOrBuilder
      • 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 interface ProjectOrBuilder
      • 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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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;
      • 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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface ProjectOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
      • mergeUnknownFields

        public final Project.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>