Class CreateProjectMetadata.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateProjectMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

build()

public CreateProjectMetadata build()
Returns
TypeDescription
CreateProjectMetadata

buildPartial()

public CreateProjectMetadata buildPartial()
Returns
TypeDescription
CreateProjectMetadata

clear()

public CreateProjectMetadata.Builder clear()
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

clearCreateTime()

public CreateProjectMetadata.Builder clearCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
CreateProjectMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateProjectMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateProjectMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProjectMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

clearReady()

public CreateProjectMetadata.Builder clearReady()

True if the project creation process is complete.

bool ready = 3;

Returns
TypeDescription
CreateProjectMetadata.Builder

This builder for chaining.

clone()

public CreateProjectMetadata.Builder clone()
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateProjectMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateProjectMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The gettable.

getReady()

public boolean getReady()

True if the project creation process is complete.

bool ready = 3;

Returns
TypeDescription
boolean

The ready.

hasCreateTime()

public boolean hasCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CreateProjectMetadata.Builder

mergeFrom(CreateProjectMetadata other)

public CreateProjectMetadata.Builder mergeFrom(CreateProjectMetadata other)
Parameter
NameDescription
otherCreateProjectMetadata
Returns
TypeDescription
CreateProjectMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateProjectMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateProjectMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateProjectMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateProjectMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateProjectMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The gettable to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The ready to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateProjectMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides