Package io.hstream.internal
Class Consumer.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Consumer.Builder>
-
- io.hstream.internal.Consumer.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ConsumerOrBuilder
,Cloneable
- Enclosing class:
- Consumer
public static final class Consumer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Consumer.Builder> implements ConsumerOrBuilder
Protobuf typehstream.server.Consumer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Consumer
build()
Consumer
buildPartial()
Consumer.Builder
clear()
Consumer.Builder
clearName()
string name = 1;
Consumer.Builder
clearUri()
string uri = 2;
Consumer.Builder
clearUserAgent()
string userAgent = 3;
Consumer
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
String
getUri()
string uri = 2;
com.google.protobuf.ByteString
getUriBytes()
string uri = 2;
String
getUserAgent()
string userAgent = 3;
com.google.protobuf.ByteString
getUserAgentBytes()
string userAgent = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Consumer.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Consumer.Builder
mergeFrom(com.google.protobuf.Message other)
Consumer.Builder
mergeFrom(Consumer other)
Consumer.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Consumer.Builder
setName(String value)
string name = 1;
Consumer.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
Consumer.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Consumer.Builder
setUri(String value)
string uri = 2;
Consumer.Builder
setUriBytes(com.google.protobuf.ByteString value)
string uri = 2;
Consumer.Builder
setUserAgent(String value)
string userAgent = 3;
Consumer.Builder
setUserAgentBytes(com.google.protobuf.ByteString value)
string userAgent = 3;
-
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<Consumer.Builder>
-
clear
public Consumer.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<Consumer.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<Consumer.Builder>
-
getDefaultInstanceForType
public Consumer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Consumer build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Consumer buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Consumer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Consumer.Builder>
-
mergeFrom
public Consumer.Builder mergeFrom(Consumer other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Consumer.Builder>
-
mergeFrom
public Consumer.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<Consumer.Builder>
- Throws:
IOException
-
getName
public String getName()
string name = 1;
- Specified by:
getName
in interfaceConsumerOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceConsumerOrBuilder
- Returns:
- The bytes for name.
-
setName
public Consumer.Builder setName(String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Consumer.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Consumer.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUri
public String getUri()
string uri = 2;
- Specified by:
getUri
in interfaceConsumerOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
string uri = 2;
- Specified by:
getUriBytes
in interfaceConsumerOrBuilder
- Returns:
- The bytes for uri.
-
setUri
public Consumer.Builder setUri(String value)
string uri = 2;
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public Consumer.Builder clearUri()
string uri = 2;
- Returns:
- This builder for chaining.
-
setUriBytes
public Consumer.Builder setUriBytes(com.google.protobuf.ByteString value)
string uri = 2;
- Parameters:
value
- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getUserAgent
public String getUserAgent()
string userAgent = 3;
- Specified by:
getUserAgent
in interfaceConsumerOrBuilder
- Returns:
- The userAgent.
-
getUserAgentBytes
public com.google.protobuf.ByteString getUserAgentBytes()
string userAgent = 3;
- Specified by:
getUserAgentBytes
in interfaceConsumerOrBuilder
- Returns:
- The bytes for userAgent.
-
setUserAgent
public Consumer.Builder setUserAgent(String value)
string userAgent = 3;
- Parameters:
value
- The userAgent to set.- Returns:
- This builder for chaining.
-
clearUserAgent
public Consumer.Builder clearUserAgent()
string userAgent = 3;
- Returns:
- This builder for chaining.
-
setUserAgentBytes
public Consumer.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
string userAgent = 3;
- Parameters:
value
- The bytes for userAgent to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Consumer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Consumer.Builder>
-
mergeUnknownFields
public final Consumer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Consumer.Builder>
-
-