Package org.jetbrains.bsp.bazel.info
Class BspTargetInfo.RustCrateInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.jetbrains.bsp.bazel.info.BspTargetInfo.RustCrateInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,BspTargetInfo.RustCrateInfoOrBuilder
- Enclosing class:
- BspTargetInfo
public static final class BspTargetInfo.RustCrateInfo
extends com.google.protobuf.GeneratedMessage
implements BspTargetInfo.RustCrateInfoOrBuilder
Protobuf type
bazelbsp.RustCrateInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typebazelbsp.RustCrateInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCrateFeatures(int index) repeated string crate_features = 8;com.google.protobuf.ByteStringgetCrateFeaturesBytes(int index) repeated string crate_features = 8;intrepeated string crate_features = 8;com.google.protobuf.ProtocolStringListrepeated string crate_features = 8;string crate_id = 1;com.google.protobuf.ByteStringstring crate_id = 1;string crate_root = 10;com.google.protobuf.ByteStringstring crate_root = 10;static BspTargetInfo.RustCrateInfogetDependenciesCrateIds(int index) repeated string dependencies_crate_ids = 9;com.google.protobuf.ByteStringgetDependenciesCrateIdsBytes(int index) repeated string dependencies_crate_ids = 9;intrepeated string dependencies_crate_ids = 9;com.google.protobuf.ProtocolStringListrepeated string dependencies_crate_ids = 9;static final com.google.protobuf.Descriptors.Descriptorstring edition = 6;com.google.protobuf.ByteStringstring edition = 6;booleanbool from_workspace = 3;getKind()string kind = 5;com.google.protobuf.ByteStringstring kind = 5;.bazelbsp.RustCrateLocation location = 2;int.bazelbsp.RustCrateLocation location = 2;getName()string name = 4;com.google.protobuf.ByteStringstring name = 4;string out_dir = 7;com.google.protobuf.ByteStringstring out_dir = 7;com.google.protobuf.Parser<BspTargetInfo.RustCrateInfo>getProcMacroArtifacts(int index) repeated string proc_macro_artifacts = 12;com.google.protobuf.ByteStringgetProcMacroArtifactsBytes(int index) repeated string proc_macro_artifacts = 12;intrepeated string proc_macro_artifacts = 12;com.google.protobuf.ProtocolStringListrepeated string proc_macro_artifacts = 12;intstring version = 11;com.google.protobuf.ByteStringstring version = 11;inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BspTargetInfo.RustCrateInfo prototype) protected BspTargetInfo.RustCrateInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BspTargetInfo.RustCrateInfoparseDelimitedFrom(InputStream input) static BspTargetInfo.RustCrateInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BspTargetInfo.RustCrateInfoparseFrom(byte[] data) static BspTargetInfo.RustCrateInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BspTargetInfo.RustCrateInfoparseFrom(com.google.protobuf.ByteString data) static BspTargetInfo.RustCrateInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BspTargetInfo.RustCrateInfoparseFrom(com.google.protobuf.CodedInputStream input) static BspTargetInfo.RustCrateInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BspTargetInfo.RustCrateInfoparseFrom(InputStream input) static BspTargetInfo.RustCrateInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BspTargetInfo.RustCrateInfoparseFrom(ByteBuffer data) static BspTargetInfo.RustCrateInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BspTargetInfo.RustCrateInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CRATE_ID_FIELD_NUMBER
public static final int CRATE_ID_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
FROM_WORKSPACE_FIELD_NUMBER
public static final int FROM_WORKSPACE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
EDITION_FIELD_NUMBER
public static final int EDITION_FIELD_NUMBER- See Also:
-
OUT_DIR_FIELD_NUMBER
public static final int OUT_DIR_FIELD_NUMBER- See Also:
-
CRATE_FEATURES_FIELD_NUMBER
public static final int CRATE_FEATURES_FIELD_NUMBER- See Also:
-
DEPENDENCIES_CRATE_IDS_FIELD_NUMBER
public static final int DEPENDENCIES_CRATE_IDS_FIELD_NUMBER- See Also:
-
CRATE_ROOT_FIELD_NUMBER
public static final int CRATE_ROOT_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
PROC_MACRO_ARTIFACTS_FIELD_NUMBER
public static final int PROC_MACRO_ARTIFACTS_FIELD_NUMBER- See Also:
-
-
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
-
getCrateId
string crate_id = 1;- Specified by:
getCrateIdin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The crateId.
-
getCrateIdBytes
public com.google.protobuf.ByteString getCrateIdBytes()string crate_id = 1;- Specified by:
getCrateIdBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for crateId.
-
getLocationValue
public int getLocationValue().bazelbsp.RustCrateLocation location = 2;- Specified by:
getLocationValuein interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The enum numeric value on the wire for location.
-
getLocation
.bazelbsp.RustCrateLocation location = 2;- Specified by:
getLocationin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The location.
-
getFromWorkspace
public boolean getFromWorkspace()bool from_workspace = 3;- Specified by:
getFromWorkspacein interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The fromWorkspace.
-
getName
string name = 4;- Specified by:
getNamein interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 4;- Specified by:
getNameBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for name.
-
getKind
string kind = 5;- Specified by:
getKindin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()string kind = 5;- Specified by:
getKindBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for kind.
-
getEdition
string edition = 6;- Specified by:
getEditionin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The edition.
-
getEditionBytes
public com.google.protobuf.ByteString getEditionBytes()string edition = 6;- Specified by:
getEditionBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for edition.
-
getOutDir
string out_dir = 7;- Specified by:
getOutDirin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The outDir.
-
getOutDirBytes
public com.google.protobuf.ByteString getOutDirBytes()string out_dir = 7;- Specified by:
getOutDirBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for outDir.
-
getCrateFeaturesList
public com.google.protobuf.ProtocolStringList getCrateFeaturesList()repeated string crate_features = 8;- Specified by:
getCrateFeaturesListin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- A list containing the crateFeatures.
-
getCrateFeaturesCount
public int getCrateFeaturesCount()repeated string crate_features = 8;- Specified by:
getCrateFeaturesCountin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The count of crateFeatures.
-
getCrateFeatures
repeated string crate_features = 8;- Specified by:
getCrateFeaturesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The crateFeatures at the given index.
-
getCrateFeaturesBytes
public com.google.protobuf.ByteString getCrateFeaturesBytes(int index) repeated string crate_features = 8;- Specified by:
getCrateFeaturesBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the crateFeatures at the given index.
-
getDependenciesCrateIdsList
public com.google.protobuf.ProtocolStringList getDependenciesCrateIdsList()repeated string dependencies_crate_ids = 9;- Specified by:
getDependenciesCrateIdsListin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- A list containing the dependenciesCrateIds.
-
getDependenciesCrateIdsCount
public int getDependenciesCrateIdsCount()repeated string dependencies_crate_ids = 9;- Specified by:
getDependenciesCrateIdsCountin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The count of dependenciesCrateIds.
-
getDependenciesCrateIds
repeated string dependencies_crate_ids = 9;- Specified by:
getDependenciesCrateIdsin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dependenciesCrateIds at the given index.
-
getDependenciesCrateIdsBytes
public com.google.protobuf.ByteString getDependenciesCrateIdsBytes(int index) repeated string dependencies_crate_ids = 9;- Specified by:
getDependenciesCrateIdsBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dependenciesCrateIds at the given index.
-
getCrateRoot
string crate_root = 10;- Specified by:
getCrateRootin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The crateRoot.
-
getCrateRootBytes
public com.google.protobuf.ByteString getCrateRootBytes()string crate_root = 10;- Specified by:
getCrateRootBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for crateRoot.
-
getVersion
string version = 11;- Specified by:
getVersionin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 11;- Specified by:
getVersionBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The bytes for version.
-
getProcMacroArtifactsList
public com.google.protobuf.ProtocolStringList getProcMacroArtifactsList()repeated string proc_macro_artifacts = 12;- Specified by:
getProcMacroArtifactsListin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- A list containing the procMacroArtifacts.
-
getProcMacroArtifactsCount
public int getProcMacroArtifactsCount()repeated string proc_macro_artifacts = 12;- Specified by:
getProcMacroArtifactsCountin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Returns:
- The count of procMacroArtifacts.
-
getProcMacroArtifacts
repeated string proc_macro_artifacts = 12;- Specified by:
getProcMacroArtifactsin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The procMacroArtifacts at the given index.
-
getProcMacroArtifactsBytes
public com.google.protobuf.ByteString getProcMacroArtifactsBytes(int index) repeated string proc_macro_artifacts = 12;- Specified by:
getProcMacroArtifactsBytesin interfaceBspTargetInfo.RustCrateInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the procMacroArtifacts at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BspTargetInfo.RustCrateInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BspTargetInfo.RustCrateInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BspTargetInfo.RustCrateInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-