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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • clear

      public ApiDiffProto.Diff.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.GeneratedMessageV3.Builder<ApiDiffProto.Diff.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.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • getDefaultInstanceForType

      public ApiDiffProto.Diff getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ApiDiffProto.Diff build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ApiDiffProto.Diff buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public ApiDiffProto.Diff.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.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • setField

      public ApiDiffProto.Diff.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • clearField

      public ApiDiffProto.Diff.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • clearOneof

      public ApiDiffProto.Diff.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • mergeFrom

      public ApiDiffProto.Diff.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<ApiDiffProto.Diff.Builder>
    • mergeFrom

      public ApiDiffProto.Diff.Builder mergeFrom(ApiDiffProto.Diff other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 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<ApiDiffProto.Diff.Builder>
      Throws:
      IOException
    • getClassDiffList

      public List<ApiDiffProto.ClassDiff> getClassDiffList()
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
      Specified by:
      getClassDiffList in interface ApiDiffProto.DiffOrBuilder
    • getClassDiffCount

      public int getClassDiffCount()
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
      Specified by:
      getClassDiffCount in interface ApiDiffProto.DiffOrBuilder
    • getClassDiff

      public ApiDiffProto.ClassDiff getClassDiff(int index)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
      Specified by:
      getClassDiff in interface ApiDiffProto.DiffOrBuilder
    • setClassDiff

      public ApiDiffProto.Diff.Builder setClassDiff(int index, ApiDiffProto.ClassDiff value)
      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

      public ApiDiffProto.Diff.Builder addClassDiff(int index, ApiDiffProto.ClassDiff value)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • addClassDiff

      public ApiDiffProto.Diff.Builder addClassDiff(ApiDiffProto.ClassDiff.Builder builderForValue)
      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

      public ApiDiffProto.Diff.Builder addAllClassDiff(Iterable<? extends ApiDiffProto.ClassDiff> values)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • clearClassDiff

      public ApiDiffProto.Diff.Builder clearClassDiff()
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • removeClassDiff

      public ApiDiffProto.Diff.Builder removeClassDiff(int index)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • getClassDiffBuilder

      public ApiDiffProto.ClassDiff.Builder getClassDiffBuilder(int index)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • getClassDiffOrBuilder

      public ApiDiffProto.ClassDiffOrBuilder getClassDiffOrBuilder(int index)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
      Specified by:
      getClassDiffOrBuilder in interface ApiDiffProto.DiffOrBuilder
    • getClassDiffOrBuilderList

      public List<? extends ApiDiffProto.ClassDiffOrBuilder> getClassDiffOrBuilderList()
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
      Specified by:
      getClassDiffOrBuilderList in interface ApiDiffProto.DiffOrBuilder
    • addClassDiffBuilder

      public ApiDiffProto.ClassDiff.Builder addClassDiffBuilder()
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • addClassDiffBuilder

      public ApiDiffProto.ClassDiff.Builder addClassDiffBuilder(int index)
      repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
    • getClassDiffBuilderList

      public List<ApiDiffProto.ClassDiff.Builder> 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>
    • mergeUnknownFields

      public final ApiDiffProto.Diff.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApiDiffProto.Diff.Builder>