Class PollAirflowCommandRequest.Builder (1.44.0)

public static final class PollAirflowCommandRequest.Builder extends GeneratedMessageV3.Builder<PollAirflowCommandRequest.Builder> implements PollAirflowCommandRequestOrBuilder

Poll Airflow Command request.

Protobuf type google.cloud.orchestration.airflow.service.v1.PollAirflowCommandRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

build()

public PollAirflowCommandRequest build()
Returns
Type Description
PollAirflowCommandRequest

buildPartial()

public PollAirflowCommandRequest buildPartial()
Returns
Type Description
PollAirflowCommandRequest

clear()

public PollAirflowCommandRequest.Builder clear()
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

clearEnvironment()

public PollAirflowCommandRequest.Builder clearEnvironment()

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

clearExecutionId()

public PollAirflowCommandRequest.Builder clearExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PollAirflowCommandRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

clearNextLineNumber()

public PollAirflowCommandRequest.Builder clearNextLineNumber()

Line number from which new logs should be fetched.

int32 next_line_number = 5;

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PollAirflowCommandRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

clearPod()

public PollAirflowCommandRequest.Builder clearPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

clearPodNamespace()

public PollAirflowCommandRequest.Builder clearPodNamespace()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

clone()

public PollAirflowCommandRequest.Builder clone()
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

getDefaultInstanceForType()

public PollAirflowCommandRequest getDefaultInstanceForType()
Returns
Type Description
PollAirflowCommandRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnvironment()

public String getEnvironment()

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Returns
Type Description
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Returns
Type Description
ByteString

The bytes for environment.

getExecutionId()

public String getExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
Type Description
String

The executionId.

getExecutionIdBytes()

public ByteString getExecutionIdBytes()

The unique ID of the command execution.

string execution_id = 2;

Returns
Type Description
ByteString

The bytes for executionId.

getNextLineNumber()

public int getNextLineNumber()

Line number from which new logs should be fetched.

int32 next_line_number = 5;

Returns
Type Description
int

The nextLineNumber.

getPod()

public String getPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
Type Description
String

The pod.

getPodBytes()

public ByteString getPodBytes()

The name of the pod where the command is executed.

string pod = 3;

Returns
Type Description
ByteString

The bytes for pod.

getPodNamespace()

public String getPodNamespace()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
Type Description
String

The podNamespace.

getPodNamespaceBytes()

public ByteString getPodNamespaceBytes()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
Type Description
ByteString

The bytes for podNamespace.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PollAirflowCommandRequest other)

public PollAirflowCommandRequest.Builder mergeFrom(PollAirflowCommandRequest other)
Parameter
Name Description
other PollAirflowCommandRequest
Returns
Type Description
PollAirflowCommandRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PollAirflowCommandRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PollAirflowCommandRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

setEnvironment(String value)

public PollAirflowCommandRequest.Builder setEnvironment(String value)

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Parameter
Name Description
value String

The environment to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public PollAirflowCommandRequest.Builder setEnvironmentBytes(ByteString value)

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Parameter
Name Description
value ByteString

The bytes for environment to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setExecutionId(String value)

public PollAirflowCommandRequest.Builder setExecutionId(String value)

The unique ID of the command execution.

string execution_id = 2;

Parameter
Name Description
value String

The executionId to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setExecutionIdBytes(ByteString value)

public PollAirflowCommandRequest.Builder setExecutionIdBytes(ByteString value)

The unique ID of the command execution.

string execution_id = 2;

Parameter
Name Description
value ByteString

The bytes for executionId to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

setNextLineNumber(int value)

public PollAirflowCommandRequest.Builder setNextLineNumber(int value)

Line number from which new logs should be fetched.

int32 next_line_number = 5;

Parameter
Name Description
value int

The nextLineNumber to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setPod(String value)

public PollAirflowCommandRequest.Builder setPod(String value)

The name of the pod where the command is executed.

string pod = 3;

Parameter
Name Description
value String

The pod to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setPodBytes(ByteString value)

public PollAirflowCommandRequest.Builder setPodBytes(ByteString value)

The name of the pod where the command is executed.

string pod = 3;

Parameter
Name Description
value ByteString

The bytes for pod to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setPodNamespace(String value)

public PollAirflowCommandRequest.Builder setPodNamespace(String value)

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Parameter
Name Description
value String

The podNamespace to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setPodNamespaceBytes(ByteString value)

public PollAirflowCommandRequest.Builder setPodNamespaceBytes(ByteString value)

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Parameter
Name Description
value ByteString

The bytes for podNamespace to set.

Returns
Type Description
PollAirflowCommandRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PollAirflowCommandRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PollAirflowCommandRequest.Builder
Overrides