Class InstanceListResponse.Instance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceListResponse.Instance.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceListResponse.Instance.Builder>
com.soulfiremc.grpc.generated.InstanceListResponse.Instance.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceListResponse.InstanceOrBuilder, Cloneable
- Enclosing class:
InstanceListResponse.Instance
public static final class InstanceListResponse.Instance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceListResponse.Instance.Builder>
implements InstanceListResponse.InstanceOrBuilder
Summary information about a single instance.Protobuf type
soulfire.v1.InstanceListResponse.Instance-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstancePermissions(Iterable<? extends InstancePermissionState> values) The permissions the current user has on this instance.addInstancePermissions(int index, InstancePermissionState value) The permissions the current user has on this instance.addInstancePermissions(int index, InstancePermissionState.Builder builderForValue) The permissions the current user has on this instance.The permissions the current user has on this instance.addInstancePermissions(InstancePermissionState.Builder builderForValue) The permissions the current user has on this instance.The permissions the current user has on this instance.addInstancePermissionsBuilder(int index) The permissions the current user has on this instance.build()clear()The human-readable name of the instance.The icon identifier for the instance (used for UI display).clearId()The unique identifier (UUID) of the instance.The permissions the current user has on this instance.The current lifecycle state of the instance.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe human-readable name of the instance.com.google.protobuf.ByteStringThe human-readable name of the instance.getIcon()The icon identifier for the instance (used for UI display).com.google.protobuf.ByteStringThe icon identifier for the instance (used for UI display).getId()The unique identifier (UUID) of the instance.com.google.protobuf.ByteStringThe unique identifier (UUID) of the instance.getInstancePermissions(int index) The permissions the current user has on this instance.getInstancePermissionsBuilder(int index) The permissions the current user has on this instance.The permissions the current user has on this instance.intThe permissions the current user has on this instance.The permissions the current user has on this instance.getInstancePermissionsOrBuilder(int index) The permissions the current user has on this instance.List<? extends InstancePermissionStateOrBuilder> The permissions the current user has on this instance.getState()The current lifecycle state of the instance.intThe current lifecycle state of the instance.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInstancePermissions(int index) The permissions the current user has on this instance.setFriendlyName(String value) The human-readable name of the instance.setFriendlyNameBytes(com.google.protobuf.ByteString value) The human-readable name of the instance.The icon identifier for the instance (used for UI display).setIconBytes(com.google.protobuf.ByteString value) The icon identifier for the instance (used for UI display).The unique identifier (UUID) of the instance.setIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance.setInstancePermissions(int index, InstancePermissionState value) The permissions the current user has on this instance.setInstancePermissions(int index, InstancePermissionState.Builder builderForValue) The permissions the current user has on this instance.setState(InstanceState value) The current lifecycle state of the instance.setStateValue(int value) The current lifecycle state of the instance.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<InstanceListResponse.Instance.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<InstanceListResponse.Instance.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<InstanceListResponse.Instance.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<InstanceListResponse.Instance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceListResponse.Instance.Builder>
-
mergeFrom
public InstanceListResponse.Instance.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<InstanceListResponse.Instance.Builder>- Throws:
IOException
-
getId
The unique identifier (UUID) of the instance.
string id = 1;- Specified by:
getIdin interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique identifier (UUID) of the instance.
string id = 1;- Specified by:
getIdBytesin interfaceInstanceListResponse.InstanceOrBuilder- 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.
-
getFriendlyName
The human-readable name of the instance.
string friendly_name = 2;- Specified by:
getFriendlyNamein interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The friendlyName.
-
getFriendlyNameBytes
public com.google.protobuf.ByteString getFriendlyNameBytes()The human-readable name of the instance.
string friendly_name = 2;- Specified by:
getFriendlyNameBytesin interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The bytes for friendlyName.
-
setFriendlyName
The human-readable name of the instance.
string friendly_name = 2;- Parameters:
value- The friendlyName to set.- Returns:
- This builder for chaining.
-
clearFriendlyName
The human-readable name of the instance.
string friendly_name = 2;- Returns:
- This builder for chaining.
-
setFriendlyNameBytes
public InstanceListResponse.Instance.Builder setFriendlyNameBytes(com.google.protobuf.ByteString value) The human-readable name of the instance.
string friendly_name = 2;- Parameters:
value- The bytes for friendlyName to set.- Returns:
- This builder for chaining.
-
getIcon
The icon identifier for the instance (used for UI display).
string icon = 5;- Specified by:
getIconin interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The icon.
-
getIconBytes
public com.google.protobuf.ByteString getIconBytes()The icon identifier for the instance (used for UI display).
string icon = 5;- Specified by:
getIconBytesin interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The bytes for icon.
-
setIcon
The icon identifier for the instance (used for UI display).
string icon = 5;- Parameters:
value- The icon to set.- Returns:
- This builder for chaining.
-
clearIcon
The icon identifier for the instance (used for UI display).
string icon = 5;- Returns:
- This builder for chaining.
-
setIconBytes
The icon identifier for the instance (used for UI display).
string icon = 5;- Parameters:
value- The bytes for icon to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()The current lifecycle state of the instance.
.soulfire.v1.InstanceState state = 3;- Specified by:
getStateValuein interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current lifecycle state of the instance.
.soulfire.v1.InstanceState state = 3;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current lifecycle state of the instance.
.soulfire.v1.InstanceState state = 3;- Specified by:
getStatein interfaceInstanceListResponse.InstanceOrBuilder- Returns:
- The state.
-
setState
The current lifecycle state of the instance.
.soulfire.v1.InstanceState state = 3;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current lifecycle state of the instance.
.soulfire.v1.InstanceState state = 3;- Returns:
- This builder for chaining.
-
getInstancePermissionsList
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;- Specified by:
getInstancePermissionsListin interfaceInstanceListResponse.InstanceOrBuilder
-
getInstancePermissionsCount
public int getInstancePermissionsCount()The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;- Specified by:
getInstancePermissionsCountin interfaceInstanceListResponse.InstanceOrBuilder
-
getInstancePermissions
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;- Specified by:
getInstancePermissionsin interfaceInstanceListResponse.InstanceOrBuilder
-
setInstancePermissions
public InstanceListResponse.Instance.Builder setInstancePermissions(int index, InstancePermissionState value) The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
setInstancePermissions
public InstanceListResponse.Instance.Builder setInstancePermissions(int index, InstancePermissionState.Builder builderForValue) The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
addInstancePermissions
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
addInstancePermissions
public InstanceListResponse.Instance.Builder addInstancePermissions(int index, InstancePermissionState value) The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
addInstancePermissions
public InstanceListResponse.Instance.Builder addInstancePermissions(InstancePermissionState.Builder builderForValue) The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
addInstancePermissions
public InstanceListResponse.Instance.Builder addInstancePermissions(int index, InstancePermissionState.Builder builderForValue) The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
addAllInstancePermissions
public InstanceListResponse.Instance.Builder addAllInstancePermissions(Iterable<? extends InstancePermissionState> values) The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
clearInstancePermissions
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
removeInstancePermissions
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
getInstancePermissionsBuilder
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
getInstancePermissionsOrBuilder
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;- Specified by:
getInstancePermissionsOrBuilderin interfaceInstanceListResponse.InstanceOrBuilder
-
getInstancePermissionsOrBuilderList
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;- Specified by:
getInstancePermissionsOrBuilderListin interfaceInstanceListResponse.InstanceOrBuilder
-
addInstancePermissionsBuilder
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
addInstancePermissionsBuilder
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4; -
getInstancePermissionsBuilderList
The permissions the current user has on this instance. Each permission indicates whether a specific action is allowed.
repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
-