public static final class PollAirflowCommandResponse.ExitInfo.Builder extends GeneratedMessageV3.Builder<PollAirflowCommandResponse.ExitInfo.Builder> implements PollAirflowCommandResponse.ExitInfoOrBuilder
Information about how a command ended.
Protobuf type
google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.ExitInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PollAirflowCommandResponse.ExitInfo.BuilderImplements
PollAirflowCommandResponse.ExitInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PollAirflowCommandResponse.ExitInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
build()
public PollAirflowCommandResponse.ExitInfo build()
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo |
buildPartial()
public PollAirflowCommandResponse.ExitInfo buildPartial()
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo |
clear()
public PollAirflowCommandResponse.ExitInfo.Builder clear()
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
clearError()
public PollAirflowCommandResponse.ExitInfo.Builder clearError()
Error message. Empty if there was no error.
string error = 2;
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
clearExitCode()
public PollAirflowCommandResponse.ExitInfo.Builder clearExitCode()
The exit code from the command execution.
int32 exit_code = 1;
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PollAirflowCommandResponse.ExitInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PollAirflowCommandResponse.ExitInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
clone()
public PollAirflowCommandResponse.ExitInfo.Builder clone()
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
getDefaultInstanceForType()
public PollAirflowCommandResponse.ExitInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getError()
public String getError()
Error message. Empty if there was no error.
string error = 2;
Returns | |
---|---|
Type | Description |
String |
The error. |
getErrorBytes()
public ByteString getErrorBytes()
Error message. Empty if there was no error.
string error = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for error. |
getExitCode()
public int getExitCode()
The exit code from the command execution.
int32 exit_code = 1;
Returns | |
---|---|
Type | Description |
int |
The exitCode. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PollAirflowCommandResponse.ExitInfo other)
public PollAirflowCommandResponse.ExitInfo.Builder mergeFrom(PollAirflowCommandResponse.ExitInfo other)
Parameter | |
---|---|
Name | Description |
other |
PollAirflowCommandResponse.ExitInfo |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PollAirflowCommandResponse.ExitInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PollAirflowCommandResponse.ExitInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PollAirflowCommandResponse.ExitInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
setError(String value)
public PollAirflowCommandResponse.ExitInfo.Builder setError(String value)
Error message. Empty if there was no error.
string error = 2;
Parameter | |
---|---|
Name | Description |
value |
String The error to set. |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
setErrorBytes(ByteString value)
public PollAirflowCommandResponse.ExitInfo.Builder setErrorBytes(ByteString value)
Error message. Empty if there was no error.
string error = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for error to set. |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
setExitCode(int value)
public PollAirflowCommandResponse.ExitInfo.Builder setExitCode(int value)
The exit code from the command execution.
int32 exit_code = 1;
Parameter | |
---|---|
Name | Description |
value |
int The exitCode to set. |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PollAirflowCommandResponse.ExitInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PollAirflowCommandResponse.ExitInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PollAirflowCommandResponse.ExitInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PollAirflowCommandResponse.ExitInfo.Builder |