Package io.hstream.internal
Class HStreamVersion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HStreamVersion.Builder>
-
- io.hstream.internal.HStreamVersion.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HStreamVersionOrBuilder
,Cloneable
- Enclosing class:
- HStreamVersion
public static final class HStreamVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HStreamVersion.Builder> implements HStreamVersionOrBuilder
Protobuf typehstream.server.HStreamVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HStreamVersion
build()
HStreamVersion
buildPartial()
HStreamVersion.Builder
clear()
HStreamVersion.Builder
clearCommit()
string commit = 2;
HStreamVersion.Builder
clearVersion()
string version = 1;
String
getCommit()
string commit = 2;
com.google.protobuf.ByteString
getCommitBytes()
string commit = 2;
HStreamVersion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getVersion()
string version = 1;
com.google.protobuf.ByteString
getVersionBytes()
string version = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
HStreamVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HStreamVersion.Builder
mergeFrom(com.google.protobuf.Message other)
HStreamVersion.Builder
mergeFrom(HStreamVersion other)
HStreamVersion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HStreamVersion.Builder
setCommit(String value)
string commit = 2;
HStreamVersion.Builder
setCommitBytes(com.google.protobuf.ByteString value)
string commit = 2;
HStreamVersion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HStreamVersion.Builder
setVersion(String value)
string version = 1;
HStreamVersion.Builder
setVersionBytes(com.google.protobuf.ByteString value)
string version = 1;
-
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<HStreamVersion.Builder>
-
clear
public HStreamVersion.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<HStreamVersion.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<HStreamVersion.Builder>
-
getDefaultInstanceForType
public HStreamVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HStreamVersion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HStreamVersion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public HStreamVersion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HStreamVersion.Builder>
-
mergeFrom
public HStreamVersion.Builder mergeFrom(HStreamVersion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HStreamVersion.Builder>
-
mergeFrom
public HStreamVersion.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<HStreamVersion.Builder>
- Throws:
IOException
-
getVersion
public String getVersion()
string version = 1;
- Specified by:
getVersion
in interfaceHStreamVersionOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
string version = 1;
- Specified by:
getVersionBytes
in interfaceHStreamVersionOrBuilder
- Returns:
- The bytes for version.
-
setVersion
public HStreamVersion.Builder setVersion(String value)
string version = 1;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public HStreamVersion.Builder clearVersion()
string version = 1;
- Returns:
- This builder for chaining.
-
setVersionBytes
public HStreamVersion.Builder setVersionBytes(com.google.protobuf.ByteString value)
string version = 1;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getCommit
public String getCommit()
string commit = 2;
- Specified by:
getCommit
in interfaceHStreamVersionOrBuilder
- Returns:
- The commit.
-
getCommitBytes
public com.google.protobuf.ByteString getCommitBytes()
string commit = 2;
- Specified by:
getCommitBytes
in interfaceHStreamVersionOrBuilder
- Returns:
- The bytes for commit.
-
setCommit
public HStreamVersion.Builder setCommit(String value)
string commit = 2;
- Parameters:
value
- The commit to set.- Returns:
- This builder for chaining.
-
clearCommit
public HStreamVersion.Builder clearCommit()
string commit = 2;
- Returns:
- This builder for chaining.
-
setCommitBytes
public HStreamVersion.Builder setCommitBytes(com.google.protobuf.ByteString value)
string commit = 2;
- Parameters:
value
- The bytes for commit to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final HStreamVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HStreamVersion.Builder>
-
mergeUnknownFields
public final HStreamVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HStreamVersion.Builder>
-
-