eu.dnetlib.data.proto
Class InstanceProtos.Instance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
eu.dnetlib.data.proto.InstanceProtos.Instance.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceProtos.InstanceOrBuilder, Cloneable
- Enclosing class:
- InstanceProtos.Instance
public static final class InstanceProtos.Instance.Builder
- extends com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
- implements InstanceProtos.InstanceOrBuilder
| Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields |
| Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
| Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
addAll, newUninitializedMessageException |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
clear
public InstanceProtos.Instance.Builder clear()
- Specified by:
clear in interface com.google.protobuf.Message.Builder- Specified by:
clear in interface com.google.protobuf.MessageLite.Builder- Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
clone
public InstanceProtos.Instance.Builder clone()
- Specified by:
clone in interface com.google.protobuf.Message.Builder- Specified by:
clone in interface com.google.protobuf.MessageLite.Builder- Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder- Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
getDefaultInstanceForType
public InstanceProtos.Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
build
public InstanceProtos.Instance build()
- Specified by:
build in interface com.google.protobuf.Message.Builder- Specified by:
build in interface com.google.protobuf.MessageLite.Builder
buildPartial
public InstanceProtos.Instance buildPartial()
- Specified by:
buildPartial in interface com.google.protobuf.Message.Builder- Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public InstanceProtos.Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder- Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceProtos.Instance.Builder>
mergeFrom
public InstanceProtos.Instance.Builder mergeFrom(InstanceProtos.Instance other)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InstanceProtos.Instance.Builder>
mergeFrom
public InstanceProtos.Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder- Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder- Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceProtos.Instance.Builder>
- Throws:
IOException
hasRelMetadata
public boolean hasRelMetadata()
- Specified by:
hasRelMetadata in interface InstanceProtos.InstanceOrBuilder
getRelMetadata
public RelMetadataProtos.RelMetadata getRelMetadata()
- Specified by:
getRelMetadata in interface InstanceProtos.InstanceOrBuilder
setRelMetadata
public InstanceProtos.Instance.Builder setRelMetadata(RelMetadataProtos.RelMetadata value)
setRelMetadata
public InstanceProtos.Instance.Builder setRelMetadata(RelMetadataProtos.RelMetadata.Builder builderForValue)
mergeRelMetadata
public InstanceProtos.Instance.Builder mergeRelMetadata(RelMetadataProtos.RelMetadata value)
clearRelMetadata
public InstanceProtos.Instance.Builder clearRelMetadata()
getRelMetadataBuilder
public RelMetadataProtos.RelMetadata.Builder getRelMetadataBuilder()
getRelMetadataOrBuilder
public RelMetadataProtos.RelMetadataOrBuilder getRelMetadataOrBuilder()
- Specified by:
getRelMetadataOrBuilder in interface InstanceProtos.InstanceOrBuilder
hasLicence
public boolean hasLicence()
- Specified by:
hasLicence in interface InstanceProtos.InstanceOrBuilder
getLicence
public QualifierProtos.Qualifier getLicence()
- Specified by:
getLicence in interface InstanceProtos.InstanceOrBuilder
setLicence
public InstanceProtos.Instance.Builder setLicence(QualifierProtos.Qualifier value)
setLicence
public InstanceProtos.Instance.Builder setLicence(QualifierProtos.Qualifier.Builder builderForValue)
mergeLicence
public InstanceProtos.Instance.Builder mergeLicence(QualifierProtos.Qualifier value)
clearLicence
public InstanceProtos.Instance.Builder clearLicence()
getLicenceBuilder
public QualifierProtos.Qualifier.Builder getLicenceBuilder()
getLicenceOrBuilder
public QualifierProtos.QualifierOrBuilder getLicenceOrBuilder()
- Specified by:
getLicenceOrBuilder in interface InstanceProtos.InstanceOrBuilder
hasInstancetype
public boolean hasInstancetype()
- Specified by:
hasInstancetype in interface InstanceProtos.InstanceOrBuilder
getInstancetype
public QualifierProtos.Qualifier getInstancetype()
- Specified by:
getInstancetype in interface InstanceProtos.InstanceOrBuilder
setInstancetype
public InstanceProtos.Instance.Builder setInstancetype(QualifierProtos.Qualifier value)
setInstancetype
public InstanceProtos.Instance.Builder setInstancetype(QualifierProtos.Qualifier.Builder builderForValue)
mergeInstancetype
public InstanceProtos.Instance.Builder mergeInstancetype(QualifierProtos.Qualifier value)
clearInstancetype
public InstanceProtos.Instance.Builder clearInstancetype()
getInstancetypeBuilder
public QualifierProtos.Qualifier.Builder getInstancetypeBuilder()
getInstancetypeOrBuilder
public QualifierProtos.QualifierOrBuilder getInstancetypeOrBuilder()
- Specified by:
getInstancetypeOrBuilder in interface InstanceProtos.InstanceOrBuilder
hasCollectedfrom
public boolean hasCollectedfrom()
- Specified by:
hasCollectedfrom in interface InstanceProtos.InstanceOrBuilder
getCollectedfrom
public String getCollectedfrom()
- Specified by:
getCollectedfrom in interface InstanceProtos.InstanceOrBuilder
setCollectedfrom
public InstanceProtos.Instance.Builder setCollectedfrom(String value)
clearCollectedfrom
public InstanceProtos.Instance.Builder clearCollectedfrom()
getUrlList
public List<String> getUrlList()
- Specified by:
getUrlList in interface InstanceProtos.InstanceOrBuilder
getUrlCount
public int getUrlCount()
- Specified by:
getUrlCount in interface InstanceProtos.InstanceOrBuilder
getUrl
public String getUrl(int index)
- Specified by:
getUrl in interface InstanceProtos.InstanceOrBuilder
setUrl
public InstanceProtos.Instance.Builder setUrl(int index,
String value)
addUrl
public InstanceProtos.Instance.Builder addUrl(String value)
addAllUrl
public InstanceProtos.Instance.Builder addAllUrl(Iterable<String> values)
clearUrl
public InstanceProtos.Instance.Builder clearUrl()
Copyright © 2013. All Rights Reserved.