Class ApiDiffProto.Diff.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ApiDiffProto.Diff.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
- All Implemented Interfaces:
ApiDiffProto.DiffOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
ApiDiffProto.Diff
public static final class ApiDiffProto.Diff.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
implements ApiDiffProto.DiffOrBuilder
Protobuf type
devtools.staticanalysis.errorprone.apidiff.Diff
-
Method Summary
Modifier and TypeMethodDescriptionaddAllClassDiff
(Iterable<? extends ApiDiffProto.ClassDiff> values) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiff
(int index, ApiDiffProto.ClassDiff value) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiff
(int index, ApiDiffProto.ClassDiff.Builder builderForValue) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiff
(ApiDiffProto.ClassDiff.Builder builderForValue) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiffBuilder
(int index) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
getClassDiff
(int index) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffBuilder
(int index) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
int
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilder
(int index) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
List
<? extends ApiDiffProto.ClassDiffOrBuilder> repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(ApiDiffProto.Diff other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeClassDiff
(int index) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
setClassDiff
(int index, ApiDiffProto.ClassDiff value) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
setClassDiff
(int index, ApiDiffProto.ClassDiff.Builder builderForValue) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.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.GeneratedMessageV3.Builder<ApiDiffProto.Diff.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.GeneratedMessageV3.Builder<ApiDiffProto.Diff.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
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
setField
public ApiDiffProto.Diff.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
setRepeatedField
public ApiDiffProto.Diff.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
addRepeatedField
public ApiDiffProto.Diff.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiDiffProto.Diff.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
mergeFrom
public ApiDiffProto.Diff.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<ApiDiffProto.Diff.Builder>
- Throws:
IOException
-
getClassDiffList
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
- Specified by:
getClassDiffList
in interfaceApiDiffProto.DiffOrBuilder
-
getClassDiffCount
public int getClassDiffCount()repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
- Specified by:
getClassDiffCount
in interfaceApiDiffProto.DiffOrBuilder
-
getClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
- Specified by:
getClassDiff
in interfaceApiDiffProto.DiffOrBuilder
-
setClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
setClassDiff
public ApiDiffProto.Diff.Builder setClassDiff(int index, ApiDiffProto.ClassDiff.Builder builderForValue) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
addClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
addClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
addClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
addClassDiff
public ApiDiffProto.Diff.Builder addClassDiff(int index, ApiDiffProto.ClassDiff.Builder builderForValue) repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
addAllClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
clearClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
removeClassDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
getClassDiffBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
getClassDiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
- Specified by:
getClassDiffOrBuilder
in interfaceApiDiffProto.DiffOrBuilder
-
getClassDiffOrBuilderList
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
- Specified by:
getClassDiffOrBuilderList
in interfaceApiDiffProto.DiffOrBuilder
-
addClassDiffBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
addClassDiffBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
getClassDiffBuilderList
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
-
setUnknownFields
public final ApiDiffProto.Diff.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-
mergeUnknownFields
public final ApiDiffProto.Diff.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
-