Package org.finos.tracdap.api
Class ResourceInfoResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.finos.tracdap.api.ResourceInfoResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ResourceInfoResponseOrBuilder
public final class ResourceInfoResponse
extends com.google.protobuf.GeneratedMessage
implements ResourceInfoResponseOrBuilder
* Response object for a resourceInfo() API call. @see TracMetadataApi.resourceInfoProtobuf type
tracdap.api.ResourceInfoResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Response object for a resourceInfo() API call.Nested 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>, 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 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 TypeMethodDescriptionbooleancontainsProperties(String key) * Public properties of the selected resource.booleanstatic ResourceInfoResponsestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ResourceInfoResponse> Deprecated.int* Public properties of the selected resource.* Public properties of the selected resource.getPropertiesOrDefault(String key, String defaultValue) * Public properties of the selected resource.* Public properties of the selected resource.* Protocol of the selected resource.com.google.protobuf.ByteString* Protocol of the selected resource./ Resource key of the selected resource.com.google.protobuf.ByteString/ Resource key of the selected resource.org.finos.tracdap.metadata.ResourceType/ The type of selected resource.int/ The type of selected resource.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ResourceInfoResponse.Builderstatic ResourceInfoResponse.BuildernewBuilder(ResourceInfoResponse prototype) protected ResourceInfoResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ResourceInfoResponseparseDelimitedFrom(InputStream input) static ResourceInfoResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceInfoResponseparseFrom(byte[] data) static ResourceInfoResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceInfoResponseparseFrom(com.google.protobuf.ByteString data) static ResourceInfoResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceInfoResponseparseFrom(com.google.protobuf.CodedInputStream input) static ResourceInfoResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceInfoResponseparseFrom(InputStream input) static ResourceInfoResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceInfoResponseparseFrom(ByteBuffer data) static ResourceInfoResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResourceInfoResponse> 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, 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
-
RESOURCETYPE_FIELD_NUMBER
public static final int RESOURCETYPE_FIELD_NUMBER- See Also:
-
RESOURCEKEY_FIELD_NUMBER
public static final int RESOURCEKEY_FIELD_NUMBER- See Also:
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResourceTypeValue
public int getResourceTypeValue()/ The type of selected resource.
.tracdap.metadata.ResourceType resourceType = 1;- Specified by:
getResourceTypeValuein interfaceResourceInfoResponseOrBuilder- Returns:
- The enum numeric value on the wire for resourceType.
-
getResourceType
public org.finos.tracdap.metadata.ResourceType getResourceType()/ The type of selected resource.
.tracdap.metadata.ResourceType resourceType = 1;- Specified by:
getResourceTypein interfaceResourceInfoResponseOrBuilder- Returns:
- The resourceType.
-
getResourceKey
/ Resource key of the selected resource.
string resourceKey = 2;- Specified by:
getResourceKeyin interfaceResourceInfoResponseOrBuilder- Returns:
- The resourceKey.
-
getResourceKeyBytes
public com.google.protobuf.ByteString getResourceKeyBytes()/ Resource key of the selected resource.
string resourceKey = 2;- Specified by:
getResourceKeyBytesin interfaceResourceInfoResponseOrBuilder- Returns:
- The bytes for resourceKey.
-
getProtocol
* Protocol of the selected resource. Resource protocols correspond to TRAC technology plugins. For example, a storage resource might have protocol LOCAL or S3, and would accordingly require the LOCAL or S3 storage plugin to be installed.
string protocol = 3;- Specified by:
getProtocolin interfaceResourceInfoResponseOrBuilder- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()* Protocol of the selected resource. Resource protocols correspond to TRAC technology plugins. For example, a storage resource might have protocol LOCAL or S3, and would accordingly require the LOCAL or S3 storage plugin to be installed.
string protocol = 3;- Specified by:
getProtocolBytesin interfaceResourceInfoResponseOrBuilder- Returns:
- The bytes for protocol.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:ResourceInfoResponseOrBuilder* Public properties of the selected resource. These properties are set in the resource configuration. Certain resource types require certain properties depending on the protocol, however additional arbitrary properties can be added to support client applications.
map<string, string> properties = 4;- Specified by:
getPropertiesCountin interfaceResourceInfoResponseOrBuilder
-
containsProperties
* Public properties of the selected resource. These properties are set in the resource configuration. Certain resource types require certain properties depending on the protocol, however additional arbitrary properties can be added to support client applications.
map<string, string> properties = 4;- Specified by:
containsPropertiesin interfaceResourceInfoResponseOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceResourceInfoResponseOrBuilder
-
getPropertiesMap
* Public properties of the selected resource. These properties are set in the resource configuration. Certain resource types require certain properties depending on the protocol, however additional arbitrary properties can be added to support client applications.
map<string, string> properties = 4;- Specified by:
getPropertiesMapin interfaceResourceInfoResponseOrBuilder
-
getPropertiesOrDefault
* Public properties of the selected resource. These properties are set in the resource configuration. Certain resource types require certain properties depending on the protocol, however additional arbitrary properties can be added to support client applications.
map<string, string> properties = 4;- Specified by:
getPropertiesOrDefaultin interfaceResourceInfoResponseOrBuilder
-
getPropertiesOrThrow
* Public properties of the selected resource. These properties are set in the resource configuration. Certain resource types require certain properties depending on the protocol, however additional arbitrary properties can be added to support client applications.
map<string, string> properties = 4;- Specified by:
getPropertiesOrThrowin interfaceResourceInfoResponseOrBuilder
-
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 ResourceInfoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceInfoResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceInfoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceInfoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourceInfoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ResourceInfoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ResourceInfoResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ResourceInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ResourceInfoResponse 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 ResourceInfoResponse.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
-