Class CreateProjectMetadata.Builder (1.85.0)

public static final class CreateProjectMetadata.Builder extends GeneratedMessage.Builder<CreateProjectMetadata.Builder> implements CreateProjectMetadataOrBuilder

A status object which is used as the metadata field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.

Protobuf type google.cloud.resourcemanager.v3.CreateProjectMetadata

Static Methods

getDescriptor()

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

Methods

build()

public CreateProjectMetadata build()
Returns
Type Description
CreateProjectMetadata

buildPartial()

public CreateProjectMetadata buildPartial()
Returns
Type Description
CreateProjectMetadata

clear()

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

clearCreateTime()

public CreateProjectMetadata.Builder clearCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
CreateProjectMetadata.Builder

clearGettable()

public CreateProjectMetadata.Builder clearGettable()

True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.

bool gettable = 2;

Returns
Type Description
CreateProjectMetadata.Builder

This builder for chaining.

clearReady()

public CreateProjectMetadata.Builder clearReady()

True if the project creation process is complete.

bool ready = 3;

Returns
Type Description
CreateProjectMetadata.Builder

This builder for chaining.

getCreateTime()

public Timestamp getCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateProjectMetadata getDefaultInstanceForType()
Returns
Type Description
CreateProjectMetadata

getDescriptorForType()

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

getGettable()

public boolean getGettable()

True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.

bool gettable = 2;

Returns
Type Description
boolean

The gettable.

getReady()

public boolean getReady()

True if the project creation process is complete.

bool ready = 3;

Returns
Type Description
boolean

The ready.

hasCreateTime()

public boolean hasCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public CreateProjectMetadata.Builder mergeCreateTime(Timestamp value)

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateProjectMetadata.Builder

mergeFrom(CreateProjectMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCreateTime(Timestamp value)

public CreateProjectMetadata.Builder setCreateTime(Timestamp value)

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateProjectMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CreateProjectMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateProjectMetadata.Builder

setGettable(boolean value)

public CreateProjectMetadata.Builder setGettable(boolean value)

True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.

bool gettable = 2;

Parameter
Name Description
value boolean

The gettable to set.

Returns
Type Description
CreateProjectMetadata.Builder

This builder for chaining.

setReady(boolean value)

public CreateProjectMetadata.Builder setReady(boolean value)

True if the project creation process is complete.

bool ready = 3;

Parameter
Name Description
value boolean

The ready to set.

Returns
Type Description
CreateProjectMetadata.Builder

This builder for chaining.