Package com.google.cloud.apihub.v1
Class ExecutionStatus.LastExecution.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.LastExecution.Builder>
com.google.cloud.apihub.v1.ExecutionStatus.LastExecution.Builder
- All Implemented Interfaces:
ExecutionStatus.LastExecutionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExecutionStatus.LastExecution
public static final class ExecutionStatus.LastExecution.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setErrorMessage(String value) Output only.setErrorMessageBytes(com.google.protobuf.ByteString value) Output only.Output only.setResultValue(int value) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.LastExecution.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.LastExecution.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.LastExecution.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutionStatus.LastExecution.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.LastExecution.Builder>
-
mergeFrom
public ExecutionStatus.LastExecution.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutionStatus.LastExecution.Builder>- Throws:
IOException
-
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];- Specified by:
getResultValuein interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
setResultValue
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];- Parameters:
value- The enum numeric value on the wire for result to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getResultin interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- The result.
-
setResult
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];- Parameters:
value- The result to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getErrorMessage
Output only. Error message describing the failure, if any, during the last execution.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorMessagein interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.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];- Specified by:
getErrorMessageBytesin interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
Output only. Error message describing the failure, if any, during the last execution.
string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setErrorMessageBytes
public ExecutionStatus.LastExecution.Builder setErrorMessageBytes(com.google.protobuf.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];- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasStartTimein interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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];- Specified by:
getStartTimein interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. The last execution start time of the plugin instance.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
public ExecutionStatus.LastExecution.Builder setStartTime(com.google.protobuf.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]; -
mergeStartTime
Output only. The last execution start time of the plugin instance.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. The last execution start time of the plugin instance.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.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]; -
getStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getStartTimeOrBuilderin interfaceExecutionStatus.LastExecutionOrBuilder
-
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];- Specified by:
hasEndTimein interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.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];- Specified by:
getEndTimein interfaceExecutionStatus.LastExecutionOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. The last execution end time of the plugin instance.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
public ExecutionStatus.LastExecution.Builder setEndTime(com.google.protobuf.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]; -
mergeEndTime
Output only. The last execution end time of the plugin instance.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. The last execution end time of the plugin instance.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.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]; -
getEndTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getEndTimeOrBuilderin interfaceExecutionStatus.LastExecutionOrBuilder
-