Class Resource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
de.uni_trier.recap.arg_services.graph.v1.Resource
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ResourceOrBuilder,Serializable
public final class Resource
extends com.google.protobuf.GeneratedMessageV3
implements ResourceOrBuilder
A resource is the original source of an argument. Examples include newspaper articles, protocols, and essays. These may be linked to atom nodes via their `reference` attribute.Protobuf type
arg_services.graph.v1.Resource- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA resource is the original source of an argument.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested 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 intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Resourcestatic final com.google.protobuf.Descriptors.DescriptorStore programmatic data like creation times.Store programmatic data like creation times.com.google.protobuf.Parser<Resource>intURL or other unique attribute to find/identify the resourcecom.google.protobuf.ByteStringURL or other unique attribute to find/identify the resourcegetText()Plain-text content of the original argument.com.google.protobuf.ByteStringPlain-text content of the original argument.com.google.protobuf.TimestampCreation time of the resource.com.google.protobuf.TimestampOrBuilderCreation time of the resource.getTitle()Title (if available) of the source.com.google.protobuf.ByteStringTitle (if available) of the source.final com.google.protobuf.UnknownFieldSetcom.google.protobuf.StructStore arbitrary data as needed by a user.com.google.protobuf.StructOrBuilderStore arbitrary data as needed by a user.inthashCode()booleanStore programmatic data like creation times.booleanURL or other unique attribute to find/identify the resourcebooleanCreation time of the resource.booleanhasTitle()Title (if available) of the source.booleanStore arbitrary data as needed by a user.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Resource.Builderstatic Resource.BuildernewBuilder(Resource prototype) protected Resource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ResourceparseDelimitedFrom(InputStream input) static ResourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceparseFrom(byte[] data) static ResourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceparseFrom(com.google.protobuf.ByteString data) static ResourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceparseFrom(com.google.protobuf.CodedInputStream input) static ResourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceparseFrom(InputStream input) static ResourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceparseFrom(ByteBuffer data) static ResourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Resource>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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, hasField, hasOneof
-
Field Details
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
USERDATA_FIELD_NUMBER
public static final int USERDATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getText
Plain-text content of the original argument.
string text = 1 [json_name = "text"];- Specified by:
getTextin interfaceResourceOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()Plain-text content of the original argument.
string text = 1 [json_name = "text"];- Specified by:
getTextBytesin interfaceResourceOrBuilder- Returns:
- The bytes for text.
-
hasTitle
public boolean hasTitle()Title (if available) of the source.
optional string title = 2 [json_name = "title"];- Specified by:
hasTitlein interfaceResourceOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
Title (if available) of the source.
optional string title = 2 [json_name = "title"];- Specified by:
getTitlein interfaceResourceOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Title (if available) of the source.
optional string title = 2 [json_name = "title"];- Specified by:
getTitleBytesin interfaceResourceOrBuilder- Returns:
- The bytes for title.
-
hasSource
public boolean hasSource()URL or other unique attribute to find/identify the resource
optional string source = 3 [json_name = "source"];- Specified by:
hasSourcein interfaceResourceOrBuilder- Returns:
- Whether the source field is set.
-
getSource
URL or other unique attribute to find/identify the resource
optional string source = 3 [json_name = "source"];- Specified by:
getSourcein interfaceResourceOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()URL or other unique attribute to find/identify the resource
optional string source = 3 [json_name = "source"];- Specified by:
getSourceBytesin interfaceResourceOrBuilder- Returns:
- The bytes for source.
-
hasTimestamp
public boolean hasTimestamp()Creation time of the resource.
.google.protobuf.Timestamp timestamp = 4 [json_name = "timestamp"];- Specified by:
hasTimestampin interfaceResourceOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Creation time of the resource.
.google.protobuf.Timestamp timestamp = 4 [json_name = "timestamp"];- Specified by:
getTimestampin interfaceResourceOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Creation time of the resource.
.google.protobuf.Timestamp timestamp = 4 [json_name = "timestamp"];- Specified by:
getTimestampOrBuilderin interfaceResourceOrBuilder
-
hasMetadata
public boolean hasMetadata()Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Specified by:
hasMetadatain interfaceResourceOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Specified by:
getMetadatain interfaceResourceOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Specified by:
getMetadataOrBuilderin interfaceResourceOrBuilder
-
hasUserdata
public boolean hasUserdata()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Specified by:
hasUserdatain interfaceResourceOrBuilder- Returns:
- Whether the userdata field is set.
-
getUserdata
public com.google.protobuf.Struct getUserdata()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Specified by:
getUserdatain interfaceResourceOrBuilder- Returns:
- The userdata.
-
getUserdataOrBuilder
public com.google.protobuf.StructOrBuilder getUserdataOrBuilder()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Specified by:
getUserdataOrBuilderin interfaceResourceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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 Resource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Resource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Resource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Resource 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 Resource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-