Class OperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Builder
- All Implemented Interfaces:
OperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OperationMetadata
public static final class OperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
implements OperationMetadataOrBuilder
Metadata describing an operation.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput 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.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(OperationMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setOperationTypeValue(int value) Output only.setResource(String value) Output only.setResourceBytes(com.google.protobuf.ByteString value) Output only.setResourceUuid(String value) Output only.setResourceUuidBytes(com.google.protobuf.ByteString value) Output only.setState(OperationMetadata.State value) Output only.setStateValue(int value) 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<OperationMetadata.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<OperationMetadata.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<OperationMetadata.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<OperationMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
-
mergeFrom
public OperationMetadata.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<OperationMetadata.Builder>- Throws:
IOException
-
getStateValue
public int getStateValue()Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1;- Specified by:
getStateValuein interfaceOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1;- Specified by:
getStatein interfaceOperationMetadataOrBuilder- Returns:
- The state.
-
setState
Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.State state = 1;- Returns:
- This builder for chaining.
-
getOperationTypeValue
public int getOperationTypeValue()Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2;- Specified by:
getOperationTypeValuein interfaceOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for operationType.
-
setOperationTypeValue
Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2;- Parameters:
value- The enum numeric value on the wire for operationType to set.- Returns:
- This builder for chaining.
-
getOperationType
Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2;- Specified by:
getOperationTypein interfaceOperationMetadataOrBuilder- Returns:
- The operationType.
-
setOperationType
Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2;- Parameters:
value- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata.Type operation_type = 2;- Returns:
- This builder for chaining.
-
getResource
Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;- Specified by:
getResourcein interfaceOperationMetadataOrBuilder- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;- Specified by:
getResourceBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for resource.
-
setResource
Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;- Parameters:
value- The resource to set.- Returns:
- This builder for chaining.
-
clearResource
Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;- Returns:
- This builder for chaining.
-
setResourceBytes
Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;- Parameters:
value- The bytes for resource to set.- Returns:
- This builder for chaining.
-
getResourceUuid
Output only. The UUID of the resource being operated on.
string resource_uuid = 4;- Specified by:
getResourceUuidin interfaceOperationMetadataOrBuilder- Returns:
- The resourceUuid.
-
getResourceUuidBytes
public com.google.protobuf.ByteString getResourceUuidBytes()Output only. The UUID of the resource being operated on.
string resource_uuid = 4;- Specified by:
getResourceUuidBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for resourceUuid.
-
setResourceUuid
Output only. The UUID of the resource being operated on.
string resource_uuid = 4;- Parameters:
value- The resourceUuid to set.- Returns:
- This builder for chaining.
-
clearResourceUuid
Output only. The UUID of the resource being operated on.
string resource_uuid = 4;- Returns:
- This builder for chaining.
-
setResourceUuidBytes
Output only. The UUID of the resource being operated on.
string resource_uuid = 4;- Parameters:
value- The bytes for resourceUuid to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5;- Specified by:
hasCreateTimein interfaceOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimein interfaceOperationMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5; -
setCreateTime
public OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5; -
mergeCreateTime
Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5; -
clearCreateTime
Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimeOrBuilderin interfaceOperationMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6;- Specified by:
hasEndTimein interfaceOperationMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6;- Specified by:
getEndTimein interfaceOperationMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6; -
setEndTime
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6; -
mergeEndTime
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6; -
clearEndTime
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6;- Specified by:
getEndTimeOrBuilderin interfaceOperationMetadataOrBuilder
-