Class GenerateAppResourceOperationMetadata (0.7.0)

public final class GenerateAppResourceOperationMetadata extends GeneratedMessage implements GenerateAppResourceOperationMetadataOrBuilder

Operation metadata for AgentService.GenerateAppResource.

Protobuf type google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GenerateAppResourceOperationMetadata

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

GENERATION_TYPE_FIELD_NUMBER

public static final int GENERATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

PARTIAL_ERRORS_FIELD_NUMBER

public static final int PARTIAL_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateAppResourceOperationMetadata getDefaultInstance()
Returns
Type Description
GenerateAppResourceOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateAppResourceOperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public GenerateAppResourceOperationMetadata getDefaultInstanceForType()
Returns
Type Description
GenerateAppResourceOperationMetadata

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getGenerationType()

public GenerateAppResourceOperationMetadata.GenerationType getGenerationType()

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.GenerationType

The generationType.

getGenerationTypeValue()

public int getGenerationTypeValue()

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for generationType.

getMessage()

public String getMessage()

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

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

getPartialErrors(int index)

public Status getPartialErrors(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialErrorsCount()

public int getPartialErrorsCount()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPartialErrorsList()

public List<Status> getPartialErrorsList()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.rpc.Status>

getPartialErrorsOrBuilder(int index)

public StatusOrBuilder getPartialErrorsOrBuilder(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTarget()

public String getTarget()

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for target.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GenerateAppResourceOperationMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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