Class ProjectView.Builder (1.109.0)

public static final class ProjectView.Builder extends GeneratedMessage.Builder<ProjectView.Builder> implements ProjectViewOrBuilder

Represents a ProjectView resource.

A ProjectView resource contains read-only project data which is available globally.

Protobuf type google.cloud.compute.v1.ProjectView

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ProjectView build()
Returns
Type Description
ProjectView

buildPartial()

public ProjectView buildPartial()
Returns
Type Description
ProjectView

clear()

public ProjectView.Builder clear()
Returns
Type Description
ProjectView.Builder
Overrides

clearProject()

public ProjectView.Builder clearProject()

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Returns
Type Description
ProjectView.Builder

getDefaultInstanceForType()

public ProjectView getDefaultInstanceForType()
Returns
Type Description
ProjectView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProject()

public Project getProject()

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Returns
Type Description
Project

The project.

getProjectBuilder()

public Project.Builder getProjectBuilder()

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Returns
Type Description
Project.Builder

getProjectOrBuilder()

public ProjectOrBuilder getProjectOrBuilder()

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Returns
Type Description
ProjectOrBuilder

hasProject()

public boolean hasProject()

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Returns
Type Description
boolean

Whether the project field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProjectView other)

public ProjectView.Builder mergeFrom(ProjectView other)
Parameter
Name Description
other ProjectView
Returns
Type Description
ProjectView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProjectView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectView.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProjectView.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProjectView.Builder
Overrides

mergeProject(Project value)

public ProjectView.Builder mergeProject(Project value)

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Parameter
Name Description
value Project
Returns
Type Description
ProjectView.Builder

setProject(Project value)

public ProjectView.Builder setProject(Project value)

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Parameter
Name Description
value Project
Returns
Type Description
ProjectView.Builder

setProject(Project.Builder builderForValue)

public ProjectView.Builder setProject(Project.Builder builderForValue)

The project data. The returned Project data does not contain regional or zonal quota usage data. Global quota limits are present. For accurate, real-time quota usage numbers, query the global projects.get endpoint.

optional .google.cloud.compute.v1.Project project = 227560217;

Parameter
Name Description
builderForValue Project.Builder
Returns
Type Description
ProjectView.Builder