Class PollAirflowCommandResponse.Line.Builder (1.85.0)

public static final class PollAirflowCommandResponse.Line.Builder extends GeneratedMessage.Builder<PollAirflowCommandResponse.Line.Builder> implements PollAirflowCommandResponse.LineOrBuilder

Contains information about a single line from logs.

Protobuf type google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.Line

Static Methods

getDescriptor()

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

Methods

build()

public PollAirflowCommandResponse.Line build()
Returns
Type Description
PollAirflowCommandResponse.Line

buildPartial()

public PollAirflowCommandResponse.Line buildPartial()
Returns
Type Description
PollAirflowCommandResponse.Line

clear()

public PollAirflowCommandResponse.Line.Builder clear()
Returns
Type Description
PollAirflowCommandResponse.Line.Builder
Overrides

clearContent()

public PollAirflowCommandResponse.Line.Builder clearContent()

Text content of the log line.

string content = 2;

Returns
Type Description
PollAirflowCommandResponse.Line.Builder

This builder for chaining.

clearLineNumber()

public PollAirflowCommandResponse.Line.Builder clearLineNumber()

Number of the line.

int32 line_number = 1;

Returns
Type Description
PollAirflowCommandResponse.Line.Builder

This builder for chaining.

getContent()

public String getContent()

Text content of the log line.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Text content of the log line.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public PollAirflowCommandResponse.Line getDefaultInstanceForType()
Returns
Type Description
PollAirflowCommandResponse.Line

getDescriptorForType()

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

getLineNumber()

public int getLineNumber()

Number of the line.

int32 line_number = 1;

Returns
Type Description
int

The lineNumber.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PollAirflowCommandResponse.Line other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContent(String value)

public PollAirflowCommandResponse.Line.Builder setContent(String value)

Text content of the log line.

string content = 2;

Parameter
Name Description
value String

The content to set.

Returns
Type Description
PollAirflowCommandResponse.Line.Builder

This builder for chaining.

setContentBytes(ByteString value)

public PollAirflowCommandResponse.Line.Builder setContentBytes(ByteString value)

Text content of the log line.

string content = 2;

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
PollAirflowCommandResponse.Line.Builder

This builder for chaining.

setLineNumber(int value)

public PollAirflowCommandResponse.Line.Builder setLineNumber(int value)

Number of the line.

int32 line_number = 1;

Parameter
Name Description
value int

The lineNumber to set.

Returns
Type Description
PollAirflowCommandResponse.Line.Builder

This builder for chaining.