Class ExecutionStatus.LastExecution.Builder (0.28.0)

public static final class ExecutionStatus.LastExecution.Builder extends GeneratedMessageV3.Builder<ExecutionStatus.LastExecution.Builder> implements ExecutionStatus.LastExecutionOrBuilder

The result of the last execution of the plugin instance.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutionStatus.LastExecution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ExecutionStatus.LastExecution.Builder clear()
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

clearEndTime()

public ExecutionStatus.LastExecution.Builder clearEndTime()

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
ExecutionStatus.LastExecution.Builder

clearErrorMessage()

public ExecutionStatus.LastExecution.Builder clearErrorMessage()

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
ExecutionStatus.LastExecution.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExecutionStatus.LastExecution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutionStatus.LastExecution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

clearResult()

public ExecutionStatus.LastExecution.Builder clearResult()

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.Builder

This builder for chaining.

clearStartTime()

public ExecutionStatus.LastExecution.Builder clearStartTime()

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
ExecutionStatus.LastExecution.Builder

clone()

public ExecutionStatus.LastExecution.Builder clone()
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

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
Builder

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.

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.

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

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
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ExecutionStatus.LastExecution.Builder mergeEndTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionStatus.LastExecution.Builder

mergeFrom(ExecutionStatus.LastExecution other)

public ExecutionStatus.LastExecution.Builder mergeFrom(ExecutionStatus.LastExecution other)
Parameter
Name Description
other ExecutionStatus.LastExecution
Returns
Type Description
ExecutionStatus.LastExecution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutionStatus.LastExecution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExecutionStatus.LastExecution.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

mergeStartTime(Timestamp value)

public ExecutionStatus.LastExecution.Builder mergeStartTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionStatus.LastExecution.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionStatus.LastExecution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

setEndTime(Timestamp value)

public ExecutionStatus.LastExecution.Builder setEndTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionStatus.LastExecution.Builder

setEndTime(Timestamp.Builder builderForValue)

public ExecutionStatus.LastExecution.Builder setEndTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExecutionStatus.LastExecution.Builder

setErrorMessage(String value)

public ExecutionStatus.LastExecution.Builder setErrorMessage(String value)

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

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

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
ExecutionStatus.LastExecution.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public ExecutionStatus.LastExecution.Builder setErrorMessageBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
ExecutionStatus.LastExecution.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutionStatus.LastExecution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExecutionStatus.LastExecution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides

setResult(ExecutionStatus.LastExecution.Result value)

public ExecutionStatus.LastExecution.Builder setResult(ExecutionStatus.LastExecution.Result value)

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];

Parameter
Name Description
value ExecutionStatus.LastExecution.Result

The result to set.

Returns
Type Description
ExecutionStatus.LastExecution.Builder

This builder for chaining.

setResultValue(int value)

public ExecutionStatus.LastExecution.Builder setResultValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for result to set.

Returns
Type Description
ExecutionStatus.LastExecution.Builder

This builder for chaining.

setStartTime(Timestamp value)

public ExecutionStatus.LastExecution.Builder setStartTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecutionStatus.LastExecution.Builder

setStartTime(Timestamp.Builder builderForValue)

public ExecutionStatus.LastExecution.Builder setStartTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExecutionStatus.LastExecution.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionStatus.LastExecution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExecutionStatus.LastExecution.Builder
Overrides