Package io.hstream.internal
Class StatError.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
- io.hstream.internal.StatError.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StatErrorOrBuilder
,Cloneable
- Enclosing class:
- StatError
public static final class StatError.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder> implements StatErrorOrBuilder
Protobuf typehstream.server.StatError
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatError
build()
StatError
buildPartial()
StatError.Builder
clear()
StatError.Builder
clearMessage()
string message = 2;
StatError.Builder
clearStatType()
.hstream.server.StatType statType = 1;
StatError
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMessage()
string message = 2;
com.google.protobuf.ByteString
getMessageBytes()
string message = 2;
StatType
getStatType()
.hstream.server.StatType statType = 1;
StatType.Builder
getStatTypeBuilder()
.hstream.server.StatType statType = 1;
StatTypeOrBuilder
getStatTypeOrBuilder()
.hstream.server.StatType statType = 1;
boolean
hasStatType()
.hstream.server.StatType statType = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StatError.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StatError.Builder
mergeFrom(com.google.protobuf.Message other)
StatError.Builder
mergeFrom(StatError other)
StatError.Builder
mergeStatType(StatType value)
.hstream.server.StatType statType = 1;
StatError.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StatError.Builder
setMessage(String value)
string message = 2;
StatError.Builder
setMessageBytes(com.google.protobuf.ByteString value)
string message = 2;
StatError.Builder
setStatType(StatType value)
.hstream.server.StatType statType = 1;
StatError.Builder
setStatType(StatType.Builder builderForValue)
.hstream.server.StatType statType = 1;
StatError.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
clear
public StatError.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
getDefaultInstanceForType
public StatError getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StatError build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StatError buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public StatError.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StatError.Builder>
-
mergeFrom
public StatError.Builder mergeFrom(StatError other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
mergeFrom
public StatError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StatError.Builder>
- Throws:
IOException
-
hasStatType
public boolean hasStatType()
.hstream.server.StatType statType = 1;
- Specified by:
hasStatType
in interfaceStatErrorOrBuilder
- Returns:
- Whether the statType field is set.
-
getStatType
public StatType getStatType()
.hstream.server.StatType statType = 1;
- Specified by:
getStatType
in interfaceStatErrorOrBuilder
- Returns:
- The statType.
-
setStatType
public StatError.Builder setStatType(StatType value)
.hstream.server.StatType statType = 1;
-
setStatType
public StatError.Builder setStatType(StatType.Builder builderForValue)
.hstream.server.StatType statType = 1;
-
mergeStatType
public StatError.Builder mergeStatType(StatType value)
.hstream.server.StatType statType = 1;
-
clearStatType
public StatError.Builder clearStatType()
.hstream.server.StatType statType = 1;
-
getStatTypeBuilder
public StatType.Builder getStatTypeBuilder()
.hstream.server.StatType statType = 1;
-
getStatTypeOrBuilder
public StatTypeOrBuilder getStatTypeOrBuilder()
.hstream.server.StatType statType = 1;
- Specified by:
getStatTypeOrBuilder
in interfaceStatErrorOrBuilder
-
getMessage
public String getMessage()
string message = 2;
- Specified by:
getMessage
in interfaceStatErrorOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
string message = 2;
- Specified by:
getMessageBytes
in interfaceStatErrorOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public StatError.Builder setMessage(String value)
string message = 2;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public StatError.Builder clearMessage()
string message = 2;
- Returns:
- This builder for chaining.
-
setMessageBytes
public StatError.Builder setMessageBytes(com.google.protobuf.ByteString value)
string message = 2;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final StatError.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
mergeUnknownFields
public final StatError.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatError.Builder>
-
-