Class Ops.SourceInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.SourceInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
pb.Ops.SourceInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Ops.SourceInfoOrBuilder
- Enclosing class:
Ops.SourceInfo
public static final class Ops.SourceInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
implements Ops.SourceInfoOrBuilder
Source info contains the shared metadata of a source mappingProtobuf type
pb.SourceInfo
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
bytes data = 2;
.pb.Definition definition = 3;
string filename = 1;
string language = 4;
com.google.protobuf.ByteString
getData()
bytes data = 2;
.pb.Definition definition = 3;
.pb.Definition definition = 3;
.pb.Definition definition = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string filename = 1;
com.google.protobuf.ByteString
string filename = 1;
string language = 4;
com.google.protobuf.ByteString
string language = 4;
boolean
.pb.Definition definition = 3;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeDefinition
(Ops.Definition value) .pb.Definition definition = 3;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Ops.SourceInfo other) setData
(com.google.protobuf.ByteString value) bytes data = 2;
setDefinition
(Ops.Definition value) .pb.Definition definition = 3;
setDefinition
(Ops.Definition.Builder builderForValue) .pb.Definition definition = 3;
setFilename
(String value) string filename = 1;
setFilenameBytes
(com.google.protobuf.ByteString value) string filename = 1;
setLanguage
(String value) string language = 4;
setLanguageBytes
(com.google.protobuf.ByteString value) string language = 4;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.SourceInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
-
mergeFrom
public Ops.SourceInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.SourceInfo.Builder>
- Throws:
IOException
-
getFilename
string filename = 1;
- Specified by:
getFilename
in interfaceOps.SourceInfoOrBuilder
- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()string filename = 1;
- Specified by:
getFilenameBytes
in interfaceOps.SourceInfoOrBuilder
- Returns:
- The bytes for filename.
-
setFilename
string filename = 1;
- Parameters:
value
- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
string filename = 1;
- Returns:
- This builder for chaining.
-
setFilenameBytes
string filename = 1;
- Parameters:
value
- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 2;
- Specified by:
getData
in interfaceOps.SourceInfoOrBuilder
- Returns:
- The data.
-
setData
bytes data = 2;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
-
hasDefinition
public boolean hasDefinition().pb.Definition definition = 3;
- Specified by:
hasDefinition
in interfaceOps.SourceInfoOrBuilder
- Returns:
- Whether the definition field is set.
-
getDefinition
.pb.Definition definition = 3;
- Specified by:
getDefinition
in interfaceOps.SourceInfoOrBuilder
- Returns:
- The definition.
-
setDefinition
.pb.Definition definition = 3;
-
setDefinition
.pb.Definition definition = 3;
-
mergeDefinition
.pb.Definition definition = 3;
-
clearDefinition
.pb.Definition definition = 3;
-
getDefinitionBuilder
.pb.Definition definition = 3;
-
getDefinitionOrBuilder
.pb.Definition definition = 3;
- Specified by:
getDefinitionOrBuilder
in interfaceOps.SourceInfoOrBuilder
-
getLanguage
string language = 4;
- Specified by:
getLanguage
in interfaceOps.SourceInfoOrBuilder
- Returns:
- The language.
-
getLanguageBytes
public com.google.protobuf.ByteString getLanguageBytes()string language = 4;
- Specified by:
getLanguageBytes
in interfaceOps.SourceInfoOrBuilder
- Returns:
- The bytes for language.
-
setLanguage
string language = 4;
- Parameters:
value
- The language to set.- Returns:
- This builder for chaining.
-
clearLanguage
string language = 4;
- Returns:
- This builder for chaining.
-
setLanguageBytes
string language = 4;
- Parameters:
value
- The bytes for language to set.- Returns:
- This builder for chaining.
-