Package io.hstream.internal
Class LookupResourceRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LookupResourceRequest.Builder>
-
- io.hstream.internal.LookupResourceRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LookupResourceRequestOrBuilder
,Cloneable
- Enclosing class:
- LookupResourceRequest
public static final class LookupResourceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LookupResourceRequest.Builder> implements LookupResourceRequestOrBuilder
Protobuf typehstream.server.LookupResourceRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupResourceRequest
build()
LookupResourceRequest
buildPartial()
LookupResourceRequest.Builder
clear()
LookupResourceRequest.Builder
clearResId()
string resId = 2;
LookupResourceRequest.Builder
clearResType()
.hstream.server.ResourceType resType = 1;
LookupResourceRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getResId()
string resId = 2;
com.google.protobuf.ByteString
getResIdBytes()
string resId = 2;
ResourceType
getResType()
.hstream.server.ResourceType resType = 1;
int
getResTypeValue()
.hstream.server.ResourceType resType = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LookupResourceRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LookupResourceRequest.Builder
mergeFrom(com.google.protobuf.Message other)
LookupResourceRequest.Builder
mergeFrom(LookupResourceRequest other)
LookupResourceRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LookupResourceRequest.Builder
setResId(String value)
string resId = 2;
LookupResourceRequest.Builder
setResIdBytes(com.google.protobuf.ByteString value)
string resId = 2;
LookupResourceRequest.Builder
setResType(ResourceType value)
.hstream.server.ResourceType resType = 1;
LookupResourceRequest.Builder
setResTypeValue(int value)
.hstream.server.ResourceType resType = 1;
LookupResourceRequest.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<LookupResourceRequest.Builder>
-
clear
public LookupResourceRequest.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<LookupResourceRequest.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<LookupResourceRequest.Builder>
-
getDefaultInstanceForType
public LookupResourceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LookupResourceRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LookupResourceRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public LookupResourceRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LookupResourceRequest.Builder>
-
mergeFrom
public LookupResourceRequest.Builder mergeFrom(LookupResourceRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResourceRequest.Builder>
-
mergeFrom
public LookupResourceRequest.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<LookupResourceRequest.Builder>
- Throws:
IOException
-
getResTypeValue
public int getResTypeValue()
.hstream.server.ResourceType resType = 1;
- Specified by:
getResTypeValue
in interfaceLookupResourceRequestOrBuilder
- Returns:
- The enum numeric value on the wire for resType.
-
setResTypeValue
public LookupResourceRequest.Builder setResTypeValue(int value)
.hstream.server.ResourceType resType = 1;
- Parameters:
value
- The enum numeric value on the wire for resType to set.- Returns:
- This builder for chaining.
-
getResType
public ResourceType getResType()
.hstream.server.ResourceType resType = 1;
- Specified by:
getResType
in interfaceLookupResourceRequestOrBuilder
- Returns:
- The resType.
-
setResType
public LookupResourceRequest.Builder setResType(ResourceType value)
.hstream.server.ResourceType resType = 1;
- Parameters:
value
- The resType to set.- Returns:
- This builder for chaining.
-
clearResType
public LookupResourceRequest.Builder clearResType()
.hstream.server.ResourceType resType = 1;
- Returns:
- This builder for chaining.
-
getResId
public String getResId()
string resId = 2;
- Specified by:
getResId
in interfaceLookupResourceRequestOrBuilder
- Returns:
- The resId.
-
getResIdBytes
public com.google.protobuf.ByteString getResIdBytes()
string resId = 2;
- Specified by:
getResIdBytes
in interfaceLookupResourceRequestOrBuilder
- Returns:
- The bytes for resId.
-
setResId
public LookupResourceRequest.Builder setResId(String value)
string resId = 2;
- Parameters:
value
- The resId to set.- Returns:
- This builder for chaining.
-
clearResId
public LookupResourceRequest.Builder clearResId()
string resId = 2;
- Returns:
- This builder for chaining.
-
setResIdBytes
public LookupResourceRequest.Builder setResIdBytes(com.google.protobuf.ByteString value)
string resId = 2;
- Parameters:
value
- The bytes for resId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LookupResourceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResourceRequest.Builder>
-
mergeUnknownFields
public final LookupResourceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResourceRequest.Builder>
-
-