Class InstanceUpdateProxyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceUpdateProxyRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceUpdateProxyRequest.Builder>
com.soulfiremc.grpc.generated.InstanceUpdateProxyRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceUpdateProxyRequestOrBuilder, Cloneable
- Enclosing class:
InstanceUpdateProxyRequest
public static final class InstanceUpdateProxyRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceUpdateProxyRequest.Builder>
implements InstanceUpdateProxyRequestOrBuilder
Request to update an existing proxy in an instance.Protobuf type
soulfire.v1.InstanceUpdateProxyRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearId()The unique identifier (UUID) of the instance.The zero-based index of the proxy to update.The new proxy configuration to replace the existing one.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The unique identifier (UUID) of the instance.com.google.protobuf.ByteStringThe unique identifier (UUID) of the instance.intgetIndex()The zero-based index of the proxy to update.getProxy()The new proxy configuration to replace the existing one.The new proxy configuration to replace the existing one.The new proxy configuration to replace the existing one.booleanhasProxy()The new proxy configuration to replace the existing one.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProxy(ProxyProto value) The new proxy configuration to replace the existing one.The unique identifier (UUID) of the instance.setIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance.setIndex(int value) The zero-based index of the proxy to update.setProxy(ProxyProto value) The new proxy configuration to replace the existing one.setProxy(ProxyProto.Builder builderForValue) The new proxy configuration to replace the existing one.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<InstanceUpdateProxyRequest.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<InstanceUpdateProxyRequest.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<InstanceUpdateProxyRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceUpdateProxyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceUpdateProxyRequest.Builder>
-
mergeFrom
public InstanceUpdateProxyRequest.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<InstanceUpdateProxyRequest.Builder>- Throws:
IOException
-
getId
The unique identifier (UUID) of the instance.
string id = 1;- Specified by:
getIdin interfaceInstanceUpdateProxyRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique identifier (UUID) of the instance.
string id = 1;- Specified by:
getIdBytesin interfaceInstanceUpdateProxyRequestOrBuilder- Returns:
- The bytes for id.
-
setId
The unique identifier (UUID) of the instance.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The unique identifier (UUID) of the instance.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The unique identifier (UUID) of the instance.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getIndex
public int getIndex()The zero-based index of the proxy to update. Returns INVALID_ARGUMENT if index is out of bounds.
int32 index = 2;- Specified by:
getIndexin interfaceInstanceUpdateProxyRequestOrBuilder- Returns:
- The index.
-
setIndex
The zero-based index of the proxy to update. Returns INVALID_ARGUMENT if index is out of bounds.
int32 index = 2;- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
The zero-based index of the proxy to update. Returns INVALID_ARGUMENT if index is out of bounds.
int32 index = 2;- Returns:
- This builder for chaining.
-
hasProxy
public boolean hasProxy()The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3;- Specified by:
hasProxyin interfaceInstanceUpdateProxyRequestOrBuilder- Returns:
- Whether the proxy field is set.
-
getProxy
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3;- Specified by:
getProxyin interfaceInstanceUpdateProxyRequestOrBuilder- Returns:
- The proxy.
-
setProxy
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3; -
setProxy
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3; -
mergeProxy
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3; -
clearProxy
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3; -
getProxyBuilder
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3; -
getProxyOrBuilder
The new proxy configuration to replace the existing one.
.soulfire.v1.ProxyProto proxy = 3;- Specified by:
getProxyOrBuilderin interfaceInstanceUpdateProxyRequestOrBuilder
-