Class CreateProjectMetadata.Builder (1.50.0)

public static final class CreateProjectMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateProjectMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateProjectMetadata.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public CreateProjectMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateProjectMetadata.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProjectMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateProjectMetadata.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateProjectMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateProjectMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateProjectMetadata.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateProjectMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateProjectMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateProjectMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateProjectMetadata.Builder
Overrides