Class PlatformInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<PlatformInfo.Builder>
-
- io.axoniq.axonserver.grpc.control.PlatformInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlatformInfoOrBuilder,Cloneable
- Enclosing class:
- PlatformInfo
public static final class PlatformInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<PlatformInfo.Builder> implements PlatformInfoOrBuilder
Message containing connection information of the node to Connect with
Protobuf typeio.axoniq.axonserver.grpc.control.PlatformInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformInfobuild()PlatformInfobuildPartial()PlatformInfo.Builderclear()PlatformInfo.BuilderclearPrimary()The connection details of the node the client should connect withPlatformInfo.BuilderclearSameConnection()Flag indicating that the connection may be reused to connect.PlatformInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()NodeInfogetPrimary()The connection details of the node the client should connect withNodeInfo.BuildergetPrimaryBuilder()The connection details of the node the client should connect withNodeInfoOrBuildergetPrimaryOrBuilder()The connection details of the node the client should connect withbooleangetSameConnection()Flag indicating that the connection may be reused to connect.booleanhasPrimary()The connection details of the node the client should connect withprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlatformInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlatformInfo.BuildermergeFrom(com.google.protobuf.Message other)PlatformInfo.BuildermergeFrom(PlatformInfo other)PlatformInfo.BuildermergePrimary(NodeInfo value)The connection details of the node the client should connect withPlatformInfo.BuildersetPrimary(NodeInfo value)The connection details of the node the client should connect withPlatformInfo.BuildersetPrimary(NodeInfo.Builder builderForValue)The connection details of the node the client should connect withPlatformInfo.BuildersetSameConnection(boolean value)Flag indicating that the connection may be reused to connect.-
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<PlatformInfo.Builder>
-
clear
public PlatformInfo.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<PlatformInfo.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<PlatformInfo.Builder>
-
getDefaultInstanceForType
public PlatformInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlatformInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlatformInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PlatformInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlatformInfo.Builder>
-
mergeFrom
public PlatformInfo.Builder mergeFrom(PlatformInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PlatformInfo.Builder>
-
mergeFrom
public PlatformInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlatformInfo.Builder>- Throws:
IOException
-
hasPrimary
public boolean hasPrimary()
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;- Specified by:
hasPrimaryin interfacePlatformInfoOrBuilder- Returns:
- Whether the primary field is set.
-
getPrimary
public NodeInfo getPrimary()
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;- Specified by:
getPrimaryin interfacePlatformInfoOrBuilder- Returns:
- The primary.
-
setPrimary
public PlatformInfo.Builder setPrimary(NodeInfo value)
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
-
setPrimary
public PlatformInfo.Builder setPrimary(NodeInfo.Builder builderForValue)
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
-
mergePrimary
public PlatformInfo.Builder mergePrimary(NodeInfo value)
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
-
clearPrimary
public PlatformInfo.Builder clearPrimary()
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
-
getPrimaryBuilder
public NodeInfo.Builder getPrimaryBuilder()
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
-
getPrimaryOrBuilder
public NodeInfoOrBuilder getPrimaryOrBuilder()
The connection details of the node the client should connect with
.io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;- Specified by:
getPrimaryOrBuilderin interfacePlatformInfoOrBuilder
-
getSameConnection
public boolean getSameConnection()
Flag indicating that the connection may be reused to connect. When true, the client _may_ reuse the connection established for the GetPlatformServer request for subsequent requests.
bool same_connection = 2;- Specified by:
getSameConnectionin interfacePlatformInfoOrBuilder- Returns:
- The sameConnection.
-
setSameConnection
public PlatformInfo.Builder setSameConnection(boolean value)
Flag indicating that the connection may be reused to connect. When true, the client _may_ reuse the connection established for the GetPlatformServer request for subsequent requests.
bool same_connection = 2;- Parameters:
value- The sameConnection to set.- Returns:
- This builder for chaining.
-
clearSameConnection
public PlatformInfo.Builder clearSameConnection()
Flag indicating that the connection may be reused to connect. When true, the client _may_ reuse the connection established for the GetPlatformServer request for subsequent requests.
bool same_connection = 2;- Returns:
- This builder for chaining.
-
-