Search in sources :

Example 46 with Override

use of java.lang.Override in project wire by square.

the class UninterpretedOption method newBuilder.

@Override
public Builder newBuilder() {
    Builder builder = new Builder();
    builder.name = Internal.copyOf("name", name);
    builder.identifier_value = identifier_value;
    builder.positive_int_value = positive_int_value;
    builder.negative_int_value = negative_int_value;
    builder.double_value = double_value;
    builder.string_value = string_value;
    builder.aggregate_value = aggregate_value;
    builder.addUnknownFields(unknownFields());
    return builder;
}
Also used : StringBuilder(java.lang.StringBuilder) Override(java.lang.Override)

Example 47 with Override

use of java.lang.Override in project wire by square.

the class DescriptorProto method newBuilder.

@Override
public Builder newBuilder() {
    Builder builder = new Builder();
    builder.name = name;
    builder.field = Internal.copyOf("field", field);
    builder.extension = Internal.copyOf("extension", extension);
    builder.nested_type = Internal.copyOf("nested_type", nested_type);
    builder.enum_type = Internal.copyOf("enum_type", enum_type);
    builder.extension_range = Internal.copyOf("extension_range", extension_range);
    builder.oneof_decl = Internal.copyOf("oneof_decl", oneof_decl);
    builder.options = options;
    builder.reserved_range = Internal.copyOf("reserved_range", reserved_range);
    builder.reserved_name = Internal.copyOf("reserved_name", reserved_name);
    builder.addUnknownFields(unknownFields());
    return builder;
}
Also used : StringBuilder(java.lang.StringBuilder) Override(java.lang.Override)

Example 48 with Override

use of java.lang.Override in project wire by square.

the class FieldDescriptorProto method newBuilder.

@Override
public Builder newBuilder() {
    Builder builder = new Builder();
    builder.name = name;
    builder.number = number;
    builder.label = label;
    builder.type = type;
    builder.type_name = type_name;
    builder.extendee = extendee;
    builder.default_value = default_value;
    builder.oneof_index = oneof_index;
    builder.options = options;
    builder.addUnknownFields(unknownFields());
    return builder;
}
Also used : StringBuilder(java.lang.StringBuilder) Override(java.lang.Override)

Example 49 with Override

use of java.lang.Override in project wire by square.

the class FieldOptions method newBuilder.

@Override
public Builder newBuilder() {
    Builder builder = new Builder();
    builder.ctype = ctype;
    builder.packed = packed;
    builder.jstype = jstype;
    builder.lazy = lazy;
    builder.deprecated = deprecated;
    builder.weak = weak;
    builder.uninterpreted_option = Internal.copyOf("uninterpreted_option", uninterpreted_option);
    builder.my_field_option_one = my_field_option_one;
    builder.my_field_option_two = my_field_option_two;
    builder.my_field_option_three = my_field_option_three;
    builder.my_field_option_four = my_field_option_four;
    builder.squareup_protos_extension_collision_1_a = squareup_protos_extension_collision_1_a;
    builder.b = b;
    builder.squareup_protos_extension_collision_2_a = squareup_protos_extension_collision_2_a;
    builder.c = c;
    builder.redacted = redacted;
    builder.addUnknownFields(unknownFields());
    return builder;
}
Also used : StringBuilder(java.lang.StringBuilder) Override(java.lang.Override)

Example 50 with Override

use of java.lang.Override in project wire by square.

the class FileDescriptorProto method newBuilder.

@Override
public Builder newBuilder() {
    Builder builder = new Builder();
    builder.name = name;
    builder.package_ = package_;
    builder.dependency = Internal.copyOf("dependency", dependency);
    builder.public_dependency = Internal.copyOf("public_dependency", public_dependency);
    builder.weak_dependency = Internal.copyOf("weak_dependency", weak_dependency);
    builder.message_type = Internal.copyOf("message_type", message_type);
    builder.enum_type = Internal.copyOf("enum_type", enum_type);
    builder.service = Internal.copyOf("service", service);
    builder.extension = Internal.copyOf("extension", extension);
    builder.options = options;
    builder.source_code_info = source_code_info;
    builder.syntax = syntax;
    builder.addUnknownFields(unknownFields());
    return builder;
}
Also used : StringBuilder(java.lang.StringBuilder) Override(java.lang.Override)

Aggregations

Override (java.lang.Override)177 StringBuilder (java.lang.StringBuilder)83 String (java.lang.String)36 NonNull (android.support.annotation.NonNull)24 ContentValues (android.content.ContentValues)12 ArrayList (java.util.ArrayList)11 View (android.view.View)10 Integer (java.lang.Integer)9 Long (java.lang.Long)9 HashMap (java.util.HashMap)9 Boolean (java.lang.Boolean)8 Double (java.lang.Double)8 Float (java.lang.Float)8 Short (java.lang.Short)8 Bitmap (android.graphics.Bitmap)5 Canvas (android.graphics.Canvas)5 Handler (android.os.Handler)5 HandlerThread (android.os.HandlerThread)5 SmallTest (android.test.suitebuilder.annotation.SmallTest)5 Map (java.util.Map)5