Package viam.app.data.v1
Class Data.CreateIndexRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Data.CreateIndexRequest,Data.CreateIndexRequest.Builder>
viam.app.data.v1.Data.CreateIndexRequest
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Data.CreateIndexRequestOrBuilder
- Enclosing class:
- Data
public static final class Data.CreateIndexRequest
extends com.google.protobuf.GeneratedMessageLite<Data.CreateIndexRequest,Data.CreateIndexRequest.Builder>
implements Data.CreateIndexRequestOrBuilder
CreateIndexRequest starts a custom index buildProtobuf type
viam.app.data.v1.CreateIndexRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
CreateIndexRequest starts a custom index buildNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) .viam.app.data.v1.IndexableCollection collection_type = 2 [json_name = "collectionType"];
int
.viam.app.data.v1.IndexableCollection collection_type = 2 [json_name = "collectionType"];
static Data.CreateIndexRequest
com.google.protobuf.ByteString
getIndexSpec
(int index) index_spec accepts a MongoDB index specification defined in JSON formatint
index_spec accepts a MongoDB index specification defined in JSON formatList<com.google.protobuf.ByteString>
index_spec accepts a MongoDB index specification defined in JSON formatstring organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
optional string pipeline_name = 3 [json_name = "pipelineName"];
com.google.protobuf.ByteString
optional string pipeline_name = 3 [json_name = "pipelineName"];
boolean
optional string pipeline_name = 3 [json_name = "pipelineName"];
newBuilder
(Data.CreateIndexRequest prototype) static Data.CreateIndexRequest
parseDelimitedFrom
(InputStream input) static Data.CreateIndexRequest
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.CreateIndexRequest
parseFrom
(byte[] data) static Data.CreateIndexRequest
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.CreateIndexRequest
parseFrom
(com.google.protobuf.ByteString data) static Data.CreateIndexRequest
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.CreateIndexRequest
parseFrom
(com.google.protobuf.CodedInputStream input) static Data.CreateIndexRequest
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.CreateIndexRequest
parseFrom
(InputStream input) static Data.CreateIndexRequest
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.CreateIndexRequest
parseFrom
(ByteBuffer data) static Data.CreateIndexRequest
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Data.CreateIndexRequest>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER- See Also:
-
COLLECTION_TYPE_FIELD_NUMBER
public static final int COLLECTION_TYPE_FIELD_NUMBER- See Also:
-
PIPELINE_NAME_FIELD_NUMBER
public static final int PIPELINE_NAME_FIELD_NUMBER- See Also:
-
INDEX_SPEC_FIELD_NUMBER
public static final int INDEX_SPEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
getCollectionTypeValue
public int getCollectionTypeValue().viam.app.data.v1.IndexableCollection collection_type = 2 [json_name = "collectionType"];
- Specified by:
getCollectionTypeValue
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The enum numeric value on the wire for collectionType.
-
getCollectionType
.viam.app.data.v1.IndexableCollection collection_type = 2 [json_name = "collectionType"];
- Specified by:
getCollectionType
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The collectionType.
-
hasPipelineName
public boolean hasPipelineName()optional string pipeline_name = 3 [json_name = "pipelineName"];
- Specified by:
hasPipelineName
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- Whether the pipelineName field is set.
-
getPipelineName
optional string pipeline_name = 3 [json_name = "pipelineName"];
- Specified by:
getPipelineName
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The pipelineName.
-
getPipelineNameBytes
public com.google.protobuf.ByteString getPipelineNameBytes()optional string pipeline_name = 3 [json_name = "pipelineName"];
- Specified by:
getPipelineNameBytes
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The bytes for pipelineName.
-
getIndexSpecList
index_spec accepts a MongoDB index specification defined in JSON format
repeated bytes index_spec = 4 [json_name = "indexSpec"];
- Specified by:
getIndexSpecList
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- A list containing the indexSpec.
-
getIndexSpecCount
public int getIndexSpecCount()index_spec accepts a MongoDB index specification defined in JSON format
repeated bytes index_spec = 4 [json_name = "indexSpec"];
- Specified by:
getIndexSpecCount
in interfaceData.CreateIndexRequestOrBuilder
- Returns:
- The count of indexSpec.
-
getIndexSpec
public com.google.protobuf.ByteString getIndexSpec(int index) index_spec accepts a MongoDB index specification defined in JSON format
repeated bytes index_spec = 4 [json_name = "indexSpec"];
- Specified by:
getIndexSpec
in interfaceData.CreateIndexRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The indexSpec at the given index.
-
parseFrom
public static Data.CreateIndexRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Data.CreateIndexRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Data.CreateIndexRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Data.CreateIndexRequest,
Data.CreateIndexRequest.Builder>
-
getDefaultInstance
-
parser
-