Example #1
0
 public Common.DatabaseProperty toProto() {
   return Common.DatabaseProperty.newBuilder().setName(name()).build();
 }
Example #2
0
 public static DatabaseProperty fromProto(Common.DatabaseProperty proto) {
   return DatabaseProperty.valueOf(proto.getName());
 }