Package s2.v1alpha
Class BasinInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BasinInfo.Builder>
-
- s2.v1alpha.BasinInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,BasinInfoOrBuilder
- Enclosing class:
- BasinInfo
public static final class BasinInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<BasinInfo.Builder> implements BasinInfoOrBuilder
Basin information.
Protobuf types2.v1alpha.BasinInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BasinInfobuild()BasinInfobuildPartial()BasinInfo.Builderclear()BasinInfo.BuilderclearCell()Cell assignment.BasinInfo.BuilderclearName()Basin name.BasinInfo.BuilderclearScope()Basin scope.BasinInfo.BuilderclearState()Basin state.java.lang.StringgetCell()Cell assignment.com.google.protobuf.ByteStringgetCellBytes()Cell assignment.BasinInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetName()Basin name.com.google.protobuf.ByteStringgetNameBytes()Basin name.java.lang.StringgetScope()Basin scope.com.google.protobuf.ByteStringgetScopeBytes()Basin scope.BasinStategetState()Basin state.intgetStateValue()Basin state.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BasinInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BasinInfo.BuildermergeFrom(com.google.protobuf.Message other)BasinInfo.BuildermergeFrom(BasinInfo other)BasinInfo.BuildersetCell(java.lang.String value)Cell assignment.BasinInfo.BuildersetCellBytes(com.google.protobuf.ByteString value)Cell assignment.BasinInfo.BuildersetName(java.lang.String value)Basin name.BasinInfo.BuildersetNameBytes(com.google.protobuf.ByteString value)Basin name.BasinInfo.BuildersetScope(java.lang.String value)Basin scope.BasinInfo.BuildersetScopeBytes(com.google.protobuf.ByteString value)Basin scope.BasinInfo.BuildersetState(BasinState value)Basin state.BasinInfo.BuildersetStateValue(int value)Basin state.-
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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BasinInfo.Builder>
-
clear
public BasinInfo.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<BasinInfo.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<BasinInfo.Builder>
-
getDefaultInstanceForType
public BasinInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BasinInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BasinInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BasinInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BasinInfo.Builder>
-
mergeFrom
public BasinInfo.Builder mergeFrom(BasinInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BasinInfo.Builder>
-
mergeFrom
public BasinInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BasinInfo.Builder>- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
Basin name.
string name = 1;- Specified by:
getNamein interfaceBasinInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Basin name.
string name = 1;- Specified by:
getNameBytesin interfaceBasinInfoOrBuilder- Returns:
- The bytes for name.
-
setName
public BasinInfo.Builder setName(java.lang.String value)
Basin name.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public BasinInfo.Builder clearName()
Basin name.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public BasinInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
Basin name.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getScope
public java.lang.String getScope()
Basin scope.
string scope = 2;- Specified by:
getScopein interfaceBasinInfoOrBuilder- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()
Basin scope.
string scope = 2;- Specified by:
getScopeBytesin interfaceBasinInfoOrBuilder- Returns:
- The bytes for scope.
-
setScope
public BasinInfo.Builder setScope(java.lang.String value)
Basin scope.
string scope = 2;- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
public BasinInfo.Builder clearScope()
Basin scope.
string scope = 2;- Returns:
- This builder for chaining.
-
setScopeBytes
public BasinInfo.Builder setScopeBytes(com.google.protobuf.ByteString value)
Basin scope.
string scope = 2;- Parameters:
value- The bytes for scope to set.- Returns:
- This builder for chaining.
-
getCell
public java.lang.String getCell()
Cell assignment.
string cell = 3;- Specified by:
getCellin interfaceBasinInfoOrBuilder- Returns:
- The cell.
-
getCellBytes
public com.google.protobuf.ByteString getCellBytes()
Cell assignment.
string cell = 3;- Specified by:
getCellBytesin interfaceBasinInfoOrBuilder- Returns:
- The bytes for cell.
-
setCell
public BasinInfo.Builder setCell(java.lang.String value)
Cell assignment.
string cell = 3;- Parameters:
value- The cell to set.- Returns:
- This builder for chaining.
-
clearCell
public BasinInfo.Builder clearCell()
Cell assignment.
string cell = 3;- Returns:
- This builder for chaining.
-
setCellBytes
public BasinInfo.Builder setCellBytes(com.google.protobuf.ByteString value)
Cell assignment.
string cell = 3;- Parameters:
value- The bytes for cell to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Basin state.
.s2.v1alpha.BasinState state = 4;- Specified by:
getStateValuein interfaceBasinInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public BasinInfo.Builder setStateValue(int value)
Basin state.
.s2.v1alpha.BasinState state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public BasinState getState()
Basin state.
.s2.v1alpha.BasinState state = 4;- Specified by:
getStatein interfaceBasinInfoOrBuilder- Returns:
- The state.
-
setState
public BasinInfo.Builder setState(BasinState value)
Basin state.
.s2.v1alpha.BasinState state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public BasinInfo.Builder clearState()
Basin state.
.s2.v1alpha.BasinState state = 4;- Returns:
- This builder for chaining.
-
-