Class CreateProjectMetadata (1.51.0)

public final class CreateProjectMetadata extends GeneratedMessageV3 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 Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

GETTABLE_FIELD_NUMBER

public static final int GETTABLE_FIELD_NUMBER
Field Value
Type Description
int

READY_FIELD_NUMBER

public static final int READY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateProjectMetadata getDefaultInstance()
Returns
Type Description
CreateProjectMetadata

getDescriptor()

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

newBuilder()

public static CreateProjectMetadata.Builder newBuilder()
Returns
Type Description
CreateProjectMetadata.Builder

newBuilder(CreateProjectMetadata prototype)

public static CreateProjectMetadata.Builder newBuilder(CreateProjectMetadata prototype)
Parameter
Name Description
prototype CreateProjectMetadata
Returns
Type Description
CreateProjectMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateProjectMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateProjectMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateProjectMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateProjectMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateProjectMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateProjectMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProjectMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateProjectMetadata> parser()
Returns
Type Description
Parser<CreateProjectMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

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

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.

getParserForType()

public Parser<CreateProjectMetadata> getParserForType()
Returns
Type Description
Parser<CreateProjectMetadata>
Overrides

getReady()

public boolean getReady()

True if the project creation process is complete.

bool ready = 3;

Returns
Type Description
boolean

The ready.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateProjectMetadata.Builder newBuilderForType()
Returns
Type Description
CreateProjectMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateProjectMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateProjectMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateProjectMetadata.Builder toBuilder()
Returns
Type Description
CreateProjectMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException