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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations