Class CreateProjectMetadata (1.42.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
TypeDescription
int

GETTABLE_FIELD_NUMBER

public static final int GETTABLE_FIELD_NUMBER
Field Value
TypeDescription
int

READY_FIELD_NUMBER

public static final int READY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateProjectMetadata getDefaultInstance()
Returns
TypeDescription
CreateProjectMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateProjectMetadata.Builder newBuilder()
Returns
TypeDescription
CreateProjectMetadata.Builder

newBuilder(CreateProjectMetadata prototype)

public static CreateProjectMetadata.Builder newBuilder(CreateProjectMetadata prototype)
Parameter
NameDescription
prototypeCreateProjectMetadata
Returns
TypeDescription
CreateProjectMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateProjectMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateProjectMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateProjectMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateProjectMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateProjectMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateProjectMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateProjectMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProjectMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateProjectMetadata> parser()
Returns
TypeDescription
Parser<CreateProjectMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Creation time of the project creation workflow.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

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

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.

getParserForType()

public Parser<CreateProjectMetadata> getParserForType()
Returns
TypeDescription
Parser<CreateProjectMetadata>
Overrides

getReady()

public boolean getReady()

True if the project creation process is complete.

bool ready = 3;

Returns
TypeDescription
boolean

The ready.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateProjectMetadata.Builder newBuilderForType()
Returns
TypeDescription
CreateProjectMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateProjectMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateProjectMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateProjectMetadata.Builder toBuilder()
Returns
TypeDescription
CreateProjectMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException