/** * <code>required .ncstream.Group root = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< ucar.nc2.stream.NcStreamProto.Group, ucar.nc2.stream.NcStreamProto.Group.Builder, ucar.nc2.stream.NcStreamProto.GroupOrBuilder> getRootFieldBuilder() { if (rootBuilder_ == null) { rootBuilder_ = new com.google.protobuf.SingleFieldBuilder< ucar.nc2.stream.NcStreamProto.Group, ucar.nc2.stream.NcStreamProto.Group.Builder, ucar.nc2.stream.NcStreamProto.GroupOrBuilder>( root_, getParentForChildren(), isClean()); root_ = null; } return rootBuilder_; }
/** * <code>optional .Group root = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< ucar.nc2.stream.NcStreamProto.Group, ucar.nc2.stream.NcStreamProto.Group.Builder, ucar.nc2.stream.NcStreamProto.GroupOrBuilder> getRootFieldBuilder() { if (rootBuilder_ == null) { rootBuilder_ = new com.google.protobuf.SingleFieldBuilder< ucar.nc2.stream.NcStreamProto.Group, ucar.nc2.stream.NcStreamProto.Group.Builder, ucar.nc2.stream.NcStreamProto.GroupOrBuilder>( getRoot(), getParentForChildren(), isClean()); root_ = null; } return rootBuilder_; }
/** * <code>optional .Group root = 4;</code> */ public ucar.nc2.stream.NcStreamProto.Group.Builder getRootBuilder() { onChanged(); return getRootFieldBuilder().getBuilder(); } /**
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Header other) { if (other == ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance()) return this; if (other.hasLocation()) { bitField0_ |= 0x00000001; location_ = other.location_; onChanged(); } if (other.hasTitle()) { bitField0_ |= 0x00000002; title_ = other.title_; onChanged(); } if (other.hasId()) { bitField0_ |= 0x00000004; id_ = other.id_; onChanged(); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Header other) { if (other == ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance()) return this; if (other.hasLocation()) { bitField0_ |= 0x00000001; location_ = other.location_; onChanged(); } if (other.hasTitle()) { bitField0_ |= 0x00000002; title_ = other.title_; onChanged(); } if (other.hasId()) { bitField0_ |= 0x00000004; id_ = other.id_; onChanged(); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Header other) { if (other == ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; onChanged(); } if (!other.getTitle().isEmpty()) { title_ = other.title_; onChanged(); } if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } onChanged(); return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ucar.nc2.stream.NcStreamProto.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ucar.nc2.stream.NcStreamProto.Header) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ucar.nc2.stream.NcStreamProto.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ucar.nc2.stream.NcStreamProto.Header) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ucar.nc2.stream.NcStreamProto.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ucar.nc2.stream.NcStreamProto.Header) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>required .ncstream.Group root = 4;</code> */ private com.google.protobuf.SingleFieldBuilder< ucar.nc2.stream.NcStreamProto.Group, ucar.nc2.stream.NcStreamProto.Group.Builder, ucar.nc2.stream.NcStreamProto.GroupOrBuilder> getRootFieldBuilder() { if (rootBuilder_ == null) { rootBuilder_ = new com.google.protobuf.SingleFieldBuilder< ucar.nc2.stream.NcStreamProto.Group, ucar.nc2.stream.NcStreamProto.Group.Builder, ucar.nc2.stream.NcStreamProto.GroupOrBuilder>( root_, getParentForChildren(), isClean()); root_ = null; } return rootBuilder_; }
private static Builder create() { return new Builder(); }
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
private Builder() { maybeForceBuilderInitialization(); }
private static Builder create() { return new Builder(); }
public static Builder newBuilder(ucar.nc2.stream.NcStreamProto.Header prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public static Builder newBuilder(ucar.nc2.stream.NcStreamProto.Header prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {