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.v1.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.v1.StopAirflowCommandRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StopAirflowCommandRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StopAirflowCommandRequest
build()
StopAirflowCommandRequest
buildPartial()
StopAirflowCommandRequest.Builder
clear()
StopAirflowCommandRequest.Builder
clearEnvironment()
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StopAirflowCommandRequest.Builder
clearExecutionId()
The unique ID of the command execution.StopAirflowCommandRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StopAirflowCommandRequest.Builder
clearForce()
If true, the execution is terminated forcefully (SIGKILL).StopAirflowCommandRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StopAirflowCommandRequest.Builder
clearPod()
The name of the pod where the command is executed.StopAirflowCommandRequest.Builder
clearPodNamespace()
The namespace of the pod where the command is executed.StopAirflowCommandRequest.Builder
clone()
StopAirflowCommandRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEnvironment()
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".com.google.protobuf.ByteString
getEnvironmentBytes()
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".String
getExecutionId()
The unique ID of the command execution.com.google.protobuf.ByteString
getExecutionIdBytes()
The unique ID of the command execution.boolean
getForce()
If true, the execution is terminated forcefully (SIGKILL).String
getPod()
The name of the pod where the command is executed.com.google.protobuf.ByteString
getPodBytes()
The name of the pod where the command is executed.String
getPodNamespace()
The namespace of the pod where the command is executed.com.google.protobuf.ByteString
getPodNamespaceBytes()
The namespace of the pod where the command is executed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StopAirflowCommandRequest.Builder
mergeFrom(StopAirflowCommandRequest other)
StopAirflowCommandRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StopAirflowCommandRequest.Builder
mergeFrom(com.google.protobuf.Message other)
StopAirflowCommandRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StopAirflowCommandRequest.Builder
setEnvironment(String value)
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StopAirflowCommandRequest.Builder
setEnvironmentBytes(com.google.protobuf.ByteString value)
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".StopAirflowCommandRequest.Builder
setExecutionId(String value)
The unique ID of the command execution.StopAirflowCommandRequest.Builder
setExecutionIdBytes(com.google.protobuf.ByteString value)
The unique ID of the command execution.StopAirflowCommandRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StopAirflowCommandRequest.Builder
setForce(boolean value)
If true, the execution is terminated forcefully (SIGKILL).StopAirflowCommandRequest.Builder
setPod(String value)
The name of the pod where the command is executed.StopAirflowCommandRequest.Builder
setPodBytes(com.google.protobuf.ByteString value)
The name of the pod where the command is executed.StopAirflowCommandRequest.Builder
setPodNamespace(String value)
The namespace of the pod where the command is executed.StopAirflowCommandRequest.Builder
setPodNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of the pod where the command is executed.StopAirflowCommandRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
StopAirflowCommandRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
clear
public StopAirflowCommandRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
getDefaultInstanceForType
public StopAirflowCommandRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StopAirflowCommandRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StopAirflowCommandRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StopAirflowCommandRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
setField
public StopAirflowCommandRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
clearField
public StopAirflowCommandRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
clearOneof
public StopAirflowCommandRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
setRepeatedField
public StopAirflowCommandRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
addRepeatedField
public StopAirflowCommandRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
mergeFrom
public StopAirflowCommandRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StopAirflowCommandRequest.Builder>
-
mergeFrom
public StopAirflowCommandRequest.Builder mergeFrom(StopAirflowCommandRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getEnvironment
in 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:
getEnvironmentBytes
in 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:
getExecutionId
in interfaceStopAirflowCommandRequestOrBuilder
- Returns:
- The executionId.
-
getExecutionIdBytes
public com.google.protobuf.ByteString getExecutionIdBytes()
The unique ID of the command execution.
string execution_id = 2;
- Specified by:
getExecutionIdBytes
in 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:
getPod
in 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:
getPodBytes
in 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:
getPodNamespace
in 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:
getPodNamespaceBytes
in 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:
getForce
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
mergeUnknownFields
public final StopAirflowCommandRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StopAirflowCommandRequest.Builder>
-
-