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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateProjectMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateProjectMetadata build()
Returns
public CreateProjectMetadata buildPartial()
Returns
public CreateProjectMetadata.Builder clear()
Returns
Overrides
public CreateProjectMetadata.Builder clearCreateTime()
Creation time of the project creation workflow.
.google.protobuf.Timestamp create_time = 1;
Returns
public CreateProjectMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public CreateProjectMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateProjectMetadata.Builder clearReady()
True if the project creation process is complete.
bool ready = 3;
Returns
public CreateProjectMetadata.Builder clone()
Returns
Overrides
public Timestamp getCreateTime()
Creation time of the project creation workflow.
.google.protobuf.Timestamp create_time = 1;
Returns
public Timestamp.Builder getCreateTimeBuilder()
Creation time of the project creation workflow.
.google.protobuf.Timestamp create_time = 1;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of the project creation workflow.
.google.protobuf.Timestamp create_time = 1;
Returns
public CreateProjectMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
public boolean getReady()
True if the project creation process is complete.
bool ready = 3;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateProjectMetadata.Builder mergeCreateTime(Timestamp value)
Creation time of the project creation workflow.
.google.protobuf.Timestamp create_time = 1;
Parameter
Returns
public CreateProjectMetadata.Builder mergeFrom(CreateProjectMetadata other)
Parameter
Returns
public CreateProjectMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateProjectMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateProjectMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateProjectMetadata.Builder setCreateTime(Timestamp value)
Creation time of the project creation workflow.
.google.protobuf.Timestamp create_time = 1;
Parameter
Returns
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
public CreateProjectMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public CreateProjectMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateProjectMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides