Class StopAirflowCommandRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder> implements StopAirflowCommandRequestOrBuilder
Stop Airflow Command request.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1beta1.StopAirflowCommandRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StopAirflowCommandRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StopAirflowCommandRequestbuild()StopAirflowCommandRequestbuildPartial()StopAirflowCommandRequest.Builderclear()StopAirflowCommandRequest.BuilderclearEnvironment()The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StopAirflowCommandRequest.BuilderclearExecutionId()The unique ID of the command execution.StopAirflowCommandRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StopAirflowCommandRequest.BuilderclearForce()If true, the execution is terminated forcefully (SIGKILL).StopAirflowCommandRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StopAirflowCommandRequest.BuilderclearPod()The name of the pod where the command is executed.StopAirflowCommandRequest.BuilderclearPodNamespace()The namespace of the pod where the command is executed.StopAirflowCommandRequest.Builderclone()StopAirflowCommandRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEnvironment()The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".com.google.protobuf.ByteStringgetEnvironmentBytes()The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StringgetExecutionId()The unique ID of the command execution.com.google.protobuf.ByteStringgetExecutionIdBytes()The unique ID of the command execution.booleangetForce()If true, the execution is terminated forcefully (SIGKILL).StringgetPod()The name of the pod where the command is executed.com.google.protobuf.ByteStringgetPodBytes()The name of the pod where the command is executed.StringgetPodNamespace()The namespace of the pod where the command is executed.com.google.protobuf.ByteStringgetPodNamespaceBytes()The namespace of the pod where the command is executed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StopAirflowCommandRequest.BuildermergeFrom(StopAirflowCommandRequest other)StopAirflowCommandRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StopAirflowCommandRequest.BuildermergeFrom(com.google.protobuf.Message other)StopAirflowCommandRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StopAirflowCommandRequest.BuildersetEnvironment(String value)The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StopAirflowCommandRequest.BuildersetEnvironmentBytes(com.google.protobuf.ByteString value)The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StopAirflowCommandRequest.BuildersetExecutionId(String value)The unique ID of the command execution.StopAirflowCommandRequest.BuildersetExecutionIdBytes(com.google.protobuf.ByteString value)The unique ID of the command execution.StopAirflowCommandRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StopAirflowCommandRequest.BuildersetForce(boolean value)If true, the execution is terminated forcefully (SIGKILL).StopAirflowCommandRequest.BuildersetPod(String value)The name of the pod where the command is executed.StopAirflowCommandRequest.BuildersetPodBytes(com.google.protobuf.ByteString value)The name of the pod where the command is executed.StopAirflowCommandRequest.BuildersetPodNamespace(String value)The namespace of the pod where the command is executed.StopAirflowCommandRequest.BuildersetPodNamespaceBytes(com.google.protobuf.ByteString value)The namespace of the pod where the command is executed.StopAirflowCommandRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StopAirflowCommandRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
clear
public StopAirflowCommandRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
getDefaultInstanceForType
public StopAirflowCommandRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StopAirflowCommandRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StopAirflowCommandRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StopAirflowCommandRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
setField
public StopAirflowCommandRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
clearField
public StopAirflowCommandRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
clearOneof
public StopAirflowCommandRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
setRepeatedField
public StopAirflowCommandRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
addRepeatedField
public StopAirflowCommandRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
mergeFrom
public StopAirflowCommandRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StopAirflowCommandRequest.Builder>
-
mergeFrom
public StopAirflowCommandRequest.Builder mergeFrom(StopAirflowCommandRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public StopAirflowCommandRequest.Builder setEnvironment(String value)
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
public StopAirflowCommandRequest.Builder 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
public StopAirflowCommandRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
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
public String 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
public StopAirflowCommandRequest.Builder setExecutionId(String value)
The unique ID of the command execution.
string execution_id = 2;- Parameters:
value- The executionId to set.- Returns:
- This builder for chaining.
-
clearExecutionId
public StopAirflowCommandRequest.Builder clearExecutionId()
The unique ID of the command execution.
string execution_id = 2;- Returns:
- This builder for chaining.
-
setExecutionIdBytes
public StopAirflowCommandRequest.Builder setExecutionIdBytes(com.google.protobuf.ByteString value)
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
public String 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
public StopAirflowCommandRequest.Builder setPod(String value)
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
public StopAirflowCommandRequest.Builder clearPod()
The name of the pod where the command is executed.
string pod = 3;- Returns:
- This builder for chaining.
-
setPodBytes
public StopAirflowCommandRequest.Builder setPodBytes(com.google.protobuf.ByteString value)
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
public String 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
public StopAirflowCommandRequest.Builder setPodNamespace(String value)
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
public StopAirflowCommandRequest.Builder clearPodNamespace()
The namespace of the pod where the command is executed.
string pod_namespace = 4;- Returns:
- This builder for chaining.
-
setPodNamespaceBytes
public StopAirflowCommandRequest.Builder setPodNamespaceBytes(com.google.protobuf.ByteString value)
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
public StopAirflowCommandRequest.Builder setForce(boolean value)
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
public StopAirflowCommandRequest.Builder 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.
-
setUnknownFields
public final StopAirflowCommandRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
mergeUnknownFields
public final StopAirflowCommandRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
-