Class StopAirflowCommandRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StopAirflowCommandRequest.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.StopAirflowCommandRequest.Builder
- All Implemented Interfaces:
StopAirflowCommandRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StopAirflowCommandRequest
public static final class StopAirflowCommandRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StopAirflowCommandRequest.Builder>
implements StopAirflowCommandRequestOrBuilder
Stop Airflow Command request.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.StopAirflowCommandRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".The unique ID of the command execution.If true, the execution is terminated forcefully (SIGKILL).clearPod()The name of the pod where the command is executed.The namespace of the pod where the command is executed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".com.google.protobuf.ByteStringThe resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".The unique ID of the command execution.com.google.protobuf.ByteStringThe unique ID of the command execution.booleangetForce()If true, the execution is terminated forcefully (SIGKILL).getPod()The name of the pod where the command is executed.com.google.protobuf.ByteStringThe name of the pod where the command is executed.The namespace of the pod where the command is executed.com.google.protobuf.ByteStringThe namespace of the pod where the command is executed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnvironment(String value) The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".setEnvironmentBytes(com.google.protobuf.ByteString value) The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".setExecutionId(String value) The unique ID of the command execution.setExecutionIdBytes(com.google.protobuf.ByteString value) The unique ID of the command execution.setForce(boolean value) If true, the execution is terminated forcefully (SIGKILL).The name of the pod where the command is executed.setPodBytes(com.google.protobuf.ByteString value) The name of the pod where the command is executed.setPodNamespace(String value) The namespace of the pod where the command is executed.setPodNamespaceBytes(com.google.protobuf.ByteString value) The namespace of the pod where the command is executed.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<StopAirflowCommandRequest.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<StopAirflowCommandRequest.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<StopAirflowCommandRequest.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<StopAirflowCommandRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StopAirflowCommandRequest.Builder>
-
mergeFrom
public StopAirflowCommandRequest.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<StopAirflowCommandRequest.Builder>- Throws:
IOException
-
getEnvironment
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Specified by:
getEnvironmentin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The environment.
-
getEnvironmentBytes
public com.google.protobuf.ByteString getEnvironmentBytes()The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Specified by:
getEnvironmentBytesin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The bytes for environment.
-
setEnvironment
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Parameters:
value- The environment to set.- Returns:
- This builder for chaining.
-
clearEnvironment
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Returns:
- This builder for chaining.
-
setEnvironmentBytes
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".string environment = 1;- Parameters:
value- The bytes for environment to set.- Returns:
- This builder for chaining.
-
getExecutionId
The unique ID of the command execution.
string execution_id = 2;- Specified by:
getExecutionIdin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The executionId.
-
getExecutionIdBytes
public com.google.protobuf.ByteString getExecutionIdBytes()The unique ID of the command execution.
string execution_id = 2;- Specified by:
getExecutionIdBytesin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The bytes for executionId.
-
setExecutionId
The unique ID of the command execution.
string execution_id = 2;- Parameters:
value- The executionId to set.- Returns:
- This builder for chaining.
-
clearExecutionId
The unique ID of the command execution.
string execution_id = 2;- Returns:
- This builder for chaining.
-
setExecutionIdBytes
The unique ID of the command execution.
string execution_id = 2;- Parameters:
value- The bytes for executionId to set.- Returns:
- This builder for chaining.
-
getPod
The name of the pod where the command is executed.
string pod = 3;- Specified by:
getPodin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The pod.
-
getPodBytes
public com.google.protobuf.ByteString getPodBytes()The name of the pod where the command is executed.
string pod = 3;- Specified by:
getPodBytesin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The bytes for pod.
-
setPod
The name of the pod where the command is executed.
string pod = 3;- Parameters:
value- The pod to set.- Returns:
- This builder for chaining.
-
clearPod
The name of the pod where the command is executed.
string pod = 3;- Returns:
- This builder for chaining.
-
setPodBytes
The name of the pod where the command is executed.
string pod = 3;- Parameters:
value- The bytes for pod to set.- Returns:
- This builder for chaining.
-
getPodNamespace
The namespace of the pod where the command is executed.
string pod_namespace = 4;- Specified by:
getPodNamespacein interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The podNamespace.
-
getPodNamespaceBytes
public com.google.protobuf.ByteString getPodNamespaceBytes()The namespace of the pod where the command is executed.
string pod_namespace = 4;- Specified by:
getPodNamespaceBytesin interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The bytes for podNamespace.
-
setPodNamespace
The namespace of the pod where the command is executed.
string pod_namespace = 4;- Parameters:
value- The podNamespace to set.- Returns:
- This builder for chaining.
-
clearPodNamespace
The namespace of the pod where the command is executed.
string pod_namespace = 4;- Returns:
- This builder for chaining.
-
setPodNamespaceBytes
The namespace of the pod where the command is executed.
string pod_namespace = 4;- Parameters:
value- The bytes for podNamespace to set.- Returns:
- This builder for chaining.
-
getForce
public boolean getForce()If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.
bool force = 5;- Specified by:
getForcein interfaceStopAirflowCommandRequestOrBuilder- Returns:
- The force.
-
setForce
If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.
bool force = 5;- Parameters:
value- The force to set.- Returns:
- This builder for chaining.
-
clearForce
If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.
bool force = 5;- Returns:
- This builder for chaining.
-