Class ExecutionStatus.LastExecution (0.28.0)

public static final class ExecutionStatus.LastExecution extends GeneratedMessageV3 implements ExecutionStatus.LastExecutionOrBuilder

The result of the last execution of the plugin instance.

Protobuf type google.cloud.apihub.v1.ExecutionStatus.LastExecution

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecutionStatus.LastExecution getDefaultInstance()
Returns
Type Description
ExecutionStatus.LastExecution

getDescriptor()

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

newBuilder()

public static ExecutionStatus.LastExecution.Builder newBuilder()
Returns
Type Description
ExecutionStatus.LastExecution.Builder

newBuilder(ExecutionStatus.LastExecution prototype)

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

parseDelimitedFrom(InputStream input)

public static ExecutionStatus.LastExecution parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutionStatus.LastExecution
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ExecutionStatus.LastExecution parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecutionStatus.LastExecution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ExecutionStatus.LastExecution parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecutionStatus.LastExecution
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ExecutionStatus.LastExecution parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutionStatus.LastExecution
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ExecutionStatus.LastExecution parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecutionStatus.LastExecution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExecutionStatus.LastExecution> parser()
Returns
Type Description
Parser<LastExecution>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExecutionStatus.LastExecution getDefaultInstanceForType()
Returns
Type Description
ExecutionStatus.LastExecution

getEndTime()

public Timestamp getEndTime()

Output only. The last execution end time of the plugin instance.

.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 last execution end time of the plugin instance.

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

Returns
Type Description
TimestampOrBuilder

getErrorMessage()

public String getErrorMessage()

Output only. Error message describing the failure, if any, during the last execution.

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

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Output only. Error message describing the failure, if any, during the last execution.

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

Returns
Type Description
ByteString

The bytes for errorMessage.

getParserForType()

public Parser<ExecutionStatus.LastExecution> getParserForType()
Returns
Type Description
Parser<LastExecution>
Overrides

getResult()

public ExecutionStatus.LastExecution.Result getResult()

Output only. The result of the last execution of the plugin instance.

.google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExecutionStatus.LastExecution.Result

The result.

getResultValue()

public int getResultValue()

Output only. The result of the last execution of the plugin instance.

.google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for result.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. The last execution start time of the plugin instance.

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

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The last execution start time of the plugin instance.

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

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. The last execution end time of the plugin instance.

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

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The last execution start time of the plugin instance.

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

Returns
Type Description
boolean

Whether the startTime 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 ExecutionStatus.LastExecution.Builder newBuilderForType()
Returns
Type Description
ExecutionStatus.LastExecution.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ExecutionStatus.LastExecution.Builder toBuilder()
Returns
Type Description
ExecutionStatus.LastExecution.Builder

writeTo(CodedOutputStream output)

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