Class PollAirflowCommandRequest.Builder (1.41.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.v1beta1.PollAirflowCommandRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides

build()

public PollAirflowCommandRequest build()
Returns
TypeDescription
PollAirflowCommandRequest

buildPartial()

public PollAirflowCommandRequest buildPartial()
Returns
TypeDescription
PollAirflowCommandRequest

clear()

public PollAirflowCommandRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
PollAirflowCommandRequest.Builder

This builder for chaining.

clearExecutionId()

public PollAirflowCommandRequest.Builder clearExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
TypeDescription
PollAirflowCommandRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PollAirflowCommandRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides

clearNextLineNumber()

public PollAirflowCommandRequest.Builder clearNextLineNumber()

Line number from which new logs should be fetched.

int32 next_line_number = 5;

Returns
TypeDescription
PollAirflowCommandRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PollAirflowCommandRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides

clearPod()

public PollAirflowCommandRequest.Builder clearPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
TypeDescription
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
TypeDescription
PollAirflowCommandRequest.Builder

This builder for chaining.

clone()

public PollAirflowCommandRequest.Builder clone()
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides

getDefaultInstanceForType()

public PollAirflowCommandRequest getDefaultInstanceForType()
Returns
TypeDescription
PollAirflowCommandRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for environment.

getExecutionId()

public String getExecutionId()

The unique ID of the command execution.

string execution_id = 2;

Returns
TypeDescription
String

The executionId.

getExecutionIdBytes()

public ByteString getExecutionIdBytes()

The unique ID of the command execution.

string execution_id = 2;

Returns
TypeDescription
ByteString

The bytes for executionId.

getNextLineNumber()

public int getNextLineNumber()

Line number from which new logs should be fetched.

int32 next_line_number = 5;

Returns
TypeDescription
int

The nextLineNumber.

getPod()

public String getPod()

The name of the pod where the command is executed.

string pod = 3;

Returns
TypeDescription
String

The pod.

getPodBytes()

public ByteString getPodBytes()

The name of the pod where the command is executed.

string pod = 3;

Returns
TypeDescription
ByteString

The bytes for pod.

getPodNamespace()

public String getPodNamespace()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
TypeDescription
String

The podNamespace.

getPodNamespaceBytes()

public ByteString getPodNamespaceBytes()

The namespace of the pod where the command is executed.

string pod_namespace = 4;

Returns
TypeDescription
ByteString

The bytes for podNamespace.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PollAirflowCommandRequest other)

public PollAirflowCommandRequest.Builder mergeFrom(PollAirflowCommandRequest other)
Parameter
NameDescription
otherPollAirflowCommandRequest
Returns
TypeDescription
PollAirflowCommandRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PollAirflowCommandRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PollAirflowCommandRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The environment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for environment to set.

Returns
TypeDescription
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
NameDescription
valueString

The executionId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for executionId to set.

Returns
TypeDescription
PollAirflowCommandRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PollAirflowCommandRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The nextLineNumber to set.

Returns
TypeDescription
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
NameDescription
valueString

The pod to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pod to set.

Returns
TypeDescription
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
NameDescription
valueString

The podNamespace to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for podNamespace to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PollAirflowCommandRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PollAirflowCommandRequest.Builder
Overrides