Package com.google.devtools.build.v1
Class BuildEvent.ConsoleOutput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
com.google.devtools.build.v1.BuildEvent.ConsoleOutput.Builder
- All Implemented Interfaces:
BuildEvent.ConsoleOutputOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEvent.ConsoleOutput
public static final class BuildEvent.ConsoleOutput.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
implements BuildEvent.ConsoleOutputOrBuilder
Textual output written to standard output or standard error.Protobuf type
google.devtools.build.v1.BuildEvent.ConsoleOutput-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Used if the output is not UTF-8 text (for example, a binary proto).Regular UTF-8 output; normal text.The output stream type.com.google.protobuf.ByteStringUsed if the output is not UTF-8 text (for example, a binary proto).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRegular UTF-8 output; normal text.com.google.protobuf.ByteStringRegular UTF-8 output; normal text.getType()The output stream type.intThe output stream type.booleanUsed if the output is not UTF-8 text (for example, a binary proto).booleanRegular UTF-8 output; normal text.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBinaryOutput(com.google.protobuf.ByteString value) Used if the output is not UTF-8 text (for example, a binary proto).setTextOutput(String value) Regular UTF-8 output; normal text.setTextOutputBytes(com.google.protobuf.ByteString value) Regular UTF-8 output; normal text.setType(ConsoleOutputStream value) The output stream type.setTypeValue(int value) The output stream type.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEvent.ConsoleOutput.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
-
mergeFrom
public BuildEvent.ConsoleOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEvent.ConsoleOutput.Builder>- Throws:
IOException
-
getOutputCase
- Specified by:
getOutputCasein interfaceBuildEvent.ConsoleOutputOrBuilder
-
clearOutput
-
getTypeValue
public int getTypeValue()The output stream type.
.google.devtools.build.v1.ConsoleOutputStream type = 1;- Specified by:
getTypeValuein interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The output stream type.
.google.devtools.build.v1.ConsoleOutputStream type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The output stream type.
.google.devtools.build.v1.ConsoleOutputStream type = 1;- Specified by:
getTypein interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- The type.
-
setType
The output stream type.
.google.devtools.build.v1.ConsoleOutputStream type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The output stream type.
.google.devtools.build.v1.ConsoleOutputStream type = 1;- Returns:
- This builder for chaining.
-
hasTextOutput
public boolean hasTextOutput()Regular UTF-8 output; normal text.
string text_output = 2;- Specified by:
hasTextOutputin interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- Whether the textOutput field is set.
-
getTextOutput
Regular UTF-8 output; normal text.
string text_output = 2;- Specified by:
getTextOutputin interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- The textOutput.
-
getTextOutputBytes
public com.google.protobuf.ByteString getTextOutputBytes()Regular UTF-8 output; normal text.
string text_output = 2;- Specified by:
getTextOutputBytesin interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- The bytes for textOutput.
-
setTextOutput
Regular UTF-8 output; normal text.
string text_output = 2;- Parameters:
value- The textOutput to set.- Returns:
- This builder for chaining.
-
clearTextOutput
Regular UTF-8 output; normal text.
string text_output = 2;- Returns:
- This builder for chaining.
-
setTextOutputBytes
Regular UTF-8 output; normal text.
string text_output = 2;- Parameters:
value- The bytes for textOutput to set.- Returns:
- This builder for chaining.
-
hasBinaryOutput
public boolean hasBinaryOutput()Used if the output is not UTF-8 text (for example, a binary proto).
bytes binary_output = 3;- Specified by:
hasBinaryOutputin interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- Whether the binaryOutput field is set.
-
getBinaryOutput
public com.google.protobuf.ByteString getBinaryOutput()Used if the output is not UTF-8 text (for example, a binary proto).
bytes binary_output = 3;- Specified by:
getBinaryOutputin interfaceBuildEvent.ConsoleOutputOrBuilder- Returns:
- The binaryOutput.
-
setBinaryOutput
Used if the output is not UTF-8 text (for example, a binary proto).
bytes binary_output = 3;- Parameters:
value- The binaryOutput to set.- Returns:
- This builder for chaining.
-
clearBinaryOutput
Used if the output is not UTF-8 text (for example, a binary proto).
bytes binary_output = 3;- Returns:
- This builder for chaining.
-